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.
This commit is contained in:
Brian Federle 2012-10-24 12:55:56 -07:00
parent 61a6aada07
commit 72259693ac
1 changed files with 1 additions and 1 deletions

View File

@ -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');