diff options
author | Jose Antonio Marquez | 2012-07-23 15:54:59 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-07-23 15:54:59 -0700 |
commit | afc7ad4f240fdf7890a79c2d4d7f8eb2e7c30a34 (patch) | |
tree | dfaa3a21f256846f0dca9dfd7a610ab738b738a7 /js/panels/css-panel/styles-view-container.reel/styles-view-container.js | |
parent | b3869f66ac77b31cbc0bd36ef360c3fa79c8d365 (diff) | |
parent | faa78ac6b0f9944dd406bed3c8170714ca02e3f9 (diff) | |
download | ninja-afc7ad4f240fdf7890a79c2d4d7f8eb2e7c30a34.tar.gz |
Merge branch 'refs/heads/Ninja-Master' into Document
Diffstat (limited to 'js/panels/css-panel/styles-view-container.reel/styles-view-container.js')
-rw-r--r-- | js/panels/css-panel/styles-view-container.reel/styles-view-container.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/panels/css-panel/styles-view-container.reel/styles-view-container.js b/js/panels/css-panel/styles-view-container.reel/styles-view-container.js index bba178f2..94abb4b0 100644 --- a/js/panels/css-panel/styles-view-container.reel/styles-view-container.js +++ b/js/panels/css-panel/styles-view-container.reel/styles-view-container.js | |||
@@ -141,6 +141,12 @@ exports.StylesViewContainer = Montage.create(Component, { | |||
141 | value: function() { | 141 | value: function() { |
142 | this.eventManager.addEventListener('styleSheetsReady', this, false); | 142 | this.eventManager.addEventListener('styleSheetsReady', this, false); |
143 | this.eventManager.addEventListener('elementChange', this, false); | 143 | this.eventManager.addEventListener('elementChange', this, false); |
144 | this.eventManager.addEventListener('mediaChange', this, false); | ||
145 | } | ||
146 | }, | ||
147 | handleMediaChange : { | ||
148 | value: function(e) { | ||
149 | this.ruleListContainer.update(); | ||
144 | } | 150 | } |
145 | }, | 151 | }, |
146 | handleStyleSheetsReady: { | 152 | handleStyleSheetsReady: { |