mirror of https://github.com/apache/cloudstack.git
List view: Pass ID to action pre-filters
This commit is contained in:
parent
31de58edab
commit
6fcd4fbe7b
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue