cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [2/2] git commit: updated refs/heads/master to a9258ae
Date Tue, 10 Dec 2013 23:22:41 GMT
List view: Fix context not being passed correctly to header actions pre-filter


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

Branch: refs/heads/master
Commit: 248195fcd78f9441cb8fa6984060fbde2d0c48d4
Parents: 93ba232
Author: Brian Federle <brian.federle@citrix.com>
Authored: Tue Dec 10 15:19:45 2013 -0800
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Tue Dec 10 15:20:39 2013 -0800

----------------------------------------------------------------------
 ui/scripts/ui/widgets/listView.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/248195fc/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index 06b8521..d94744d 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -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;
 


Mime
View raw message