diff options
author | Kruti Shah | 2012-06-28 09:24:03 -0700 |
---|---|---|
committer | Kruti Shah | 2012-06-28 09:24:03 -0700 |
commit | 8aef94d26e172785463161899dfcc877b4233bdb (patch) | |
tree | a9d5ff91681aa06bf26cb62994461a58d3f80005 /js/panels/css-panel/rule-list-container.reel/rule-list-container.js | |
parent | deefd070e5e6e793eef2c3d937e7b1a97b0f6830 (diff) | |
parent | 299ad041ab8f8669b3688e5ce74df5213d82ade6 (diff) | |
download | ninja-8aef94d26e172785463161899dfcc877b4233bdb.tar.gz |
Merge branch 'refs/heads/ninjainternalmaster' into Timeline-local-kruti
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 | ||