You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2014/05/29 23:02:57 UTC
git commit: updated refs/heads/master to 0b5163f
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 <br...@citrix.com>
Authored: Thu May 29 14:01:52 2014 -0700
Committer: Brian Federle <br...@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;
}