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

This commit is contained in:
Jessica Wang 2012-07-16 13:44:20 -07:00
parent d7214db5ae
commit dcea0a70f9
1 changed files with 1 additions and 1 deletions

View File

@ -1163,7 +1163,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) {