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 76F09963B for ; Thu, 14 Mar 2013 17:57:59 +0000 (UTC) Received: (qmail 63158 invoked by uid 500); 14 Mar 2013 17:57:54 -0000 Delivered-To: apmail-incubator-cloudstack-commits-archive@incubator.apache.org Received: (qmail 63093 invoked by uid 500); 14 Mar 2013 17:57:54 -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 62360 invoked by uid 99); 14 Mar 2013 17:57:53 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Mar 2013 17:57:53 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 894A016D21; Thu, 14 Mar 2013 17:57:53 +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: [11/29] git commit: refs/heads/master - List view: Add event hook on add row Message-Id: <20130314175753.894A016D21@tyr.zones.apache.org> Date: Thu, 14 Mar 2013 17:57:53 +0000 (UTC) List view: Add event hook on add row Adds new event 'cloudStack.listView.addRow' which is triggered after new data row is appended. It passes the table row ($tr) in the data. Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/ed7ebf57 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/ed7ebf57 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/ed7ebf57 Branch: refs/heads/master Commit: ed7ebf57cc1eca8d0259816a1e4950e0f399930e Parents: f24ee20 Author: Brian Federle Authored: Wed Mar 6 13:48:49 2013 -0800 Committer: Brian Federle Committed: Wed Mar 6 13:48:49 2013 -0800 ---------------------------------------------------------------------- ui/scripts/ui/widgets/listView.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/ed7ebf57/ui/scripts/ui/widgets/listView.js ---------------------------------------------------------------------- diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js index 9e16ec2..a1e9a95 100644 --- a/ui/scripts/ui/widgets/listView.js +++ b/ui/scripts/ui/widgets/listView.js @@ -1037,6 +1037,8 @@ allowedActions: allowedActions } ); + + $listView.trigger('cloudStack.listView.addRow', { $tr: $tr }); } // Add quick view