cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: cloudstack 3.0 UI - listView widget - pass context from caller function.
Date Fri, 20 Jul 2012 23:05:48 GMT
Updated Branches:
  refs/heads/vpc 9176d1324 -> 1381fa46e


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


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/1381fa46
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/1381fa46
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/1381fa46

Branch: refs/heads/vpc
Commit: 1381fa46e1227ba3f7bdd6549c458a944421472a
Parents: 9176d13
Author: Jessica Wang <jessica.wang@citrix.com>
Authored: Fri Jul 20 16:05:11 2012 -0700
Committer: Jessica Wang <jessica.wang@citrix.com>
Committed: Fri Jul 20 16:05:11 2012 -0700

----------------------------------------------------------------------
 ui/scripts/ui/widgets/listView.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/1381fa46/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index 087f540..9c30b49 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -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) {


Mime
View raw message