aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/style-shorthand.reel/style-shorthand.js
diff options
context:
space:
mode:
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 : {