mirror of https://github.com/apache/cloudstack.git
List view: Fix context not being passed correctly to header actions pre-filter
This commit is contained in:
parent
93ba232eea
commit
248195fcd7
|
|
@ -1701,7 +1701,7 @@
|
|||
$.each(listViewData.actions, function(actionName, action) {
|
||||
if (!action.isHeader || (
|
||||
action.preFilter && !action.preFilter({
|
||||
context: listViewData.context ? listViewData.context : cloudStack.context
|
||||
context: $listView.data('view-args').context ? $listView.data('view-args').context : cloudStack.context
|
||||
})
|
||||
)) return true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue