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-list-container.reel/rule-list-container.js | |
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-list-container.reel/rule-list-container.js')
-rw-r--r-- | js/panels/css-panel/rule-list-container.reel/rule-list-container.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/js/panels/css-panel/rule-list-container.reel/rule-list-container.js b/js/panels/css-panel/rule-list-container.reel/rule-list-container.js index 509ca565..f53937e6 100644 --- a/js/panels/css-panel/rule-list-container.reel/rule-list-container.js +++ b/js/panels/css-panel/rule-list-container.reel/rule-list-container.js | |||
@@ -39,11 +39,13 @@ exports.RuleListContainer = Montage.create(Component, { | |||
39 | value: function(selection) { | 39 | value: function(selection) { |
40 | var list = this._getListForSelection(selection); | 40 | var list = this._getListForSelection(selection); |
41 | 41 | ||
42 | if(!list) { | 42 | if(list) { |
43 | this.displayedList = list; | ||
44 | this.update(); | ||
45 | } else { | ||
43 | list = this.add(selection); | 46 | list = this.add(selection); |
47 | this.displayedList = list; | ||
44 | } | 48 | } |
45 | |||
46 | this.displayedList = list; | ||
47 | } | 49 | } |
48 | }, | 50 | }, |
49 | 51 | ||