Return-Path: X-Original-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2AA48D3B4 for ; Wed, 24 Oct 2012 20:40:30 +0000 (UTC) Received: (qmail 18497 invoked by uid 500); 24 Oct 2012 20:40:30 -0000 Delivered-To: apmail-incubator-cloudstack-commits-archive@incubator.apache.org Received: (qmail 18470 invoked by uid 500); 24 Oct 2012 20:40:30 -0000 Mailing-List: contact cloudstack-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-commits@incubator.apache.org Received: (qmail 18302 invoked by uid 99); 24 Oct 2012 20:40:29 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 20:40:29 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id AC50B4EFDA; Wed, 24 Oct 2012 20:40:29 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bfederle@apache.org To: cloudstack-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [2/2] git commit: CS-16567: Fix context for quick view on add row Message-Id: <20121024204029.AC50B4EFDA@tyr.zones.apache.org> Date: Wed, 24 Oct 2012 20:40:29 +0000 (UTC) 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/master Commit: 72259693ace1b45441e786864ca8a4bbc66b7b7d Parents: 61a6aad Author: Brian Federle Authored: Wed Oct 24 12:55:56 2012 -0700 Committer: Brian Federle 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 = $('
').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');