diff options
author | Valerio Virgillito | 2012-06-27 14:44:49 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-27 14:44:49 -0700 |
commit | 6b80467233e05a56dcb2d6952bd7044fd826e8d3 (patch) | |
tree | e602b939562f6bb3986fe1346a4806ec560f89b4 /js/panels/css-panel/rule-components | |
parent | 8351c3685a6db703d1940817abc71f92ef4e1bd4 (diff) | |
parent | 58f1de4f1cb0f59abd47cec4430a032c073f85e9 (diff) | |
download | ninja-6b80467233e05a56dcb2d6952bd7044fd826e8d3.tar.gz |
Merge pull request #343 from ericguzman/CSSPanel_GIO
Css panel gio
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 | 5 |
1 files changed, 4 insertions, 1 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 5361e5cc..d86c8d55 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 | |||
@@ -96,7 +96,10 @@ exports.CssStyleRule = Montage.create(Component, { | |||
96 | handleStop : { | 96 | handleStop : { |
97 | value: function(e) { | 97 | value: function(e) { |
98 | if(this.focusDelegate) { | 98 | if(this.focusDelegate) { |
99 | e._event.detail.preventDefault(); | 99 | if(e._event.detail.preventDefault) { |
100 | e._event.detail.preventDefault(); | ||
101 | } | ||
102 | |||
100 | this.focusDelegate.handleSelectorStop(this.rule, this.selectorField.value, this); | 103 | this.focusDelegate.handleSelectorStop(this.rule, this.selectorField.value, this); |
101 | } | 104 | } |
102 | } | 105 | } |