diff options
author | Eric Guzman | 2012-04-26 03:15:49 -0700 |
---|---|---|
committer | Eric Guzman | 2012-04-26 03:15:49 -0700 |
commit | 143105a0b9c7765898b22d53489b4bd8df3dff2e (patch) | |
tree | 05c6cd14d6400dc2393ebc4465ac3c31c42feb47 /js/panels/css-panel/rule-components | |
parent | f1d4c48cd12d4c1a4a8b8d7ce648ea510607cb88 (diff) | |
download | ninja-143105a0b9c7765898b22d53489b4bd8df3dff2e.tar.gz |
CSS Panel - add handlers for css panel actions
Diffstat (limited to 'js/panels/css-panel/rule-components')
-rw-r--r-- | js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js | 8 |
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 : { |