incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [19/22] git commit: CS-16567: Fix context for quick view on add row
Date Thu, 25 Oct 2012 08:17:54 GMT
CS-16567: Fix context for quick view on add row

After adding a new instance row, in some cases the list view's context
is not passed fully to the quickview, which broke certain sections.

This ensures that the full context stored in the list widget is passed
to the quickview.


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

Branch: refs/heads/marvin-parallel
Commit: e53ab0da2398fb42bdb1725b20675e76cc3a90ed
Parents: 0d79c5c
Author: Brian Federle <brian.federle@citrix.com>
Authored: Wed Oct 24 12:55:56 2012 -0700
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Thu Oct 25 13:47:31 2012 +0530

----------------------------------------------------------------------
 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/e53ab0da/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index 02c69f7..5281785 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -1050,7 +1050,7 @@
             var $listView = $tr.closest('.list-view');
             var $title = $('<div>').addClass('title');
             var $detailsContainer = $('<div>').addClass('container').appendTo($quickViewTooltip);
-            var context = $.extend(true, {}, options.context);
+            var context = $.extend(true, {}, $listView.data('view-args').context);
             var activeSection = $listView.data('view-args').activeSection;
             var itemID = $tr.data('list-view-item-id');
             var jsonObj = $tr.data('json-obj');


Mime
View raw message