cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/master to 0b5163f
Date Thu, 29 May 2014 21:02:57 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 9f4d46464 -> 0b5163f8c


Tree view: Add event hook on sub-item removal


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0b5163f8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0b5163f8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0b5163f8

Branch: refs/heads/master
Commit: 0b5163f8cf37f2bbc8244399b72105b800b7fa28
Parents: 9f4d464
Author: Brian Federle <brian.federle@citrix.com>
Authored: Thu May 29 14:01:52 2014 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Thu May 29 14:02:47 2014 -0700

----------------------------------------------------------------------
 ui/scripts/ui/widgets/treeView.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0b5163f8/ui/scripts/ui/widgets/treeView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/treeView.js b/ui/scripts/ui/widgets/treeView.js
index 0ed7047..2681945 100644
--- a/ui/scripts/ui/widgets/treeView.js
+++ b/ui/scripts/ui/widgets/treeView.js
@@ -103,6 +103,10 @@
                     $li.find('ul').remove();
                     $li.removeClass('expanded');
 
+                    $treeView.trigger('cloudStack.treeView.removeItem', {
+                        $li: $li
+                    });
+
                     return false;
                 }
 


Mime
View raw message