cloudstack 3.0 UI - listView widget - pass context from caller function.

This commit is contained in:
Jessica Wang 2012-07-20 16:05:11 -07:00
parent 9176d13246
commit 1381fa46e1
1 changed files with 1 additions and 1 deletions

View File

@ -1165,7 +1165,7 @@
var showAdd = listViewData.actions.add.preFilter ?
listViewData.actions.add.preFilter({
context: listViewData.context ?
listViewData.context : cloudStack.context
listViewData.context : args.context
}) : true;
if (showAdd) {