From 72259693ace1b45441e786864ca8a4bbc66b7b7d Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Wed, 24 Oct 2012 12:55:56 -0700 Subject: [PATCH] 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. --- ui/scripts/ui/widgets/listView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js index 02c69f7ff84..5281785b1a2 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 = $('
').addClass('title'); var $detailsContainer = $('
').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');