List view: Pass ID to action pre-filters

This commit is contained in:
Brian Federle 2014-06-18 11:50:06 -07:00
parent 31de58edab
commit 6fcd4fbe7b
1 changed files with 1 additions and 0 deletions

View File

@ -1748,6 +1748,7 @@
$.each(listViewData.actions, function(actionName, action) {
if (!action.isHeader || (
action.preFilter && !action.preFilter({
id: listViewData.id,
context: $listView.data('view-args').context ? $listView.data('view-args').context : cloudStack.context
})
)) return true;