aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js')
-rw-r--r--js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js
index dd51565a..d85b5797 100644
--- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js
+++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js
@@ -14,6 +14,10 @@ exports.CssStyleRule = Montage.create(Component, {
14 hasTemplate: { 14 hasTemplate: {
15 value: true 15 value: true
16 }, 16 },
17 focusDelegate : {
18 value: null
19 },
20
17 _rule : { 21 _rule : {
18 value : null 22 value : null
19 }, 23 },
@@ -67,6 +71,10 @@ exports.CssStyleRule = Montage.create(Component, {
67 if(this._declaration) { 71 if(this._declaration) {
68 this.declarationComponent.declaration = this._declaration; 72 this.declarationComponent.declaration = this._declaration;
69 } 73 }
74
75 if(this.focusDelegate) {
76 this.declarationComponent.focusDelegate = this.focusDelegate;
77 }
70 } 78 }
71 }, 79 },
72 prepareForDraw : { 80 prepareForDraw : {