diff options
author | Eric Guzman | 2012-03-13 15:52:33 -0700 |
---|---|---|
committer | Eric Guzman | 2012-03-13 15:52:33 -0700 |
commit | 40e03e102c14a343efee1bdcf32d0d244e3f8344 (patch) | |
tree | 30061979dd9a766c61777d6f1d98f9c79d047886 /js/panels/css-panel/style-shorthand.reel/style-shorthand.js | |
parent | 4979ee361a11225f19b991810ca8d8c429a22620 (diff) | |
download | ninja-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.js | 5 |
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 : { |