aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/style-shorthand.reel/style-shorthand.js
diff options
context:
space:
mode:
authorEric Guzman2012-03-13 15:52:33 -0700
committerEric Guzman2012-03-13 15:52:33 -0700
commit40e03e102c14a343efee1bdcf32d0d244e3f8344 (patch)
tree30061979dd9a766c61777d6f1d98f9c79d047886 /js/panels/css-panel/style-shorthand.reel/style-shorthand.js
parent4979ee361a11225f19b991810ca8d8c429a22620 (diff)
downloadninja-40e03e102c14a343efee1bdcf32d0d244e3f8344.tar.gz
CSS Panel - Style updates for collapsing branches
Diffstat (limited to 'js/panels/css-panel/style-shorthand.reel/style-shorthand.js')
-rw-r--r--js/panels/css-panel/style-shorthand.reel/style-shorthand.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/panels/css-panel/style-shorthand.reel/style-shorthand.js b/js/panels/css-panel/style-shorthand.reel/style-shorthand.js
index 00749faa..e64d64c7 100644
--- a/js/panels/css-panel/style-shorthand.reel/style-shorthand.js
+++ b/js/panels/css-panel/style-shorthand.reel/style-shorthand.js
@@ -20,13 +20,16 @@ var styleShorthand = exports.StyleShorthand= Montage.create(TreeNode, {
20 }, 20 },
21 prepareForDraw : { 21 prepareForDraw : {
22 value: function() { 22 value: function() {
23 this.styleListDisclosure.addEventListener('click', this, false); 23// this.styleListDisclosure.addEventListener('click', this, false);
24 this.treeView.contentController.addBranchController(this.arrayController); 24 this.treeView.contentController.addBranchController(this.arrayController);
25 } 25 }
26 }, 26 },
27 templateDidLoad: { 27 templateDidLoad: {
28 value: function() { 28 value: function() {
29 this.arrayController.delegate = this.treeView.contentController; 29 this.arrayController.delegate = this.treeView.contentController;
30
31 this.branchCollapser.removeAttribute('id');
32 this.branchCollapser.addEventListener('click', this, false);
30 } 33 }
31 }, 34 },
32 willDraw : { 35 willDraw : {