diff options
author | Eric Guzman | 2012-05-01 16:24:03 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-01 16:24:03 -0700 |
commit | 0f56430673fa2e008f9b1c17fca8627251866935 (patch) | |
tree | a67efd9e63fcb88b6cb64c5a0ed65b403c83ec7c /js/panels/css-panel/rule-components | |
parent | 9617e4d3870c9872dc1837a67a6f927fd2680476 (diff) | |
download | ninja-0f56430673fa2e008f9b1c17fca8627251866935.tar.gz |
CSS Panel - Inline style editing
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 | 1 |
1 files changed, 1 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 d2c81b93..7b5a736f 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 | |||
@@ -104,6 +104,7 @@ exports.CssStyleRule = Montage.create(Component, { | |||
104 | value: function() { | 104 | value: function() { |
105 | if(this.rule.type === 'inline') { | 105 | if(this.rule.type === 'inline') { |
106 | this.selectorField.readOnly = true; | 106 | this.selectorField.readOnly = true; |
107 | this.declarationComponent.type = 'inline'; | ||
107 | } else { | 108 | } else { |
108 | this.selectorField.addEventListener('change', this, false); | 109 | this.selectorField.addEventListener('change', this, false); |
109 | } | 110 | } |