incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [42/49] git commit: CS-16567: Fix context for quick view on add row
Date Sat, 27 Oct 2012 10:02:26 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/72259693
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/72259693
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/72259693

Branch: refs/heads/marvin-parallel
Commit: 72259693ace1b45441e786864ca8a4bbc66b7b7d
Parents: 61a6aad
Author: Brian Federle <brian.federle@citrix.com>
Authored: Wed Oct 24 12:55:56 2012 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Wed Oct 24 12:56:40 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/72259693/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