diff options
author | Eric Guzman | 2012-07-17 18:40:24 -0700 |
---|---|---|
committer | Eric Guzman | 2012-07-17 18:40:24 -0700 |
commit | bc7ffffb2bac3bf09d17d855d32a5f0d154fab3b (patch) | |
tree | b660f1e6e918d98d1060953b5162a587f0fc394f /js/panels | |
parent | 4f737b24c19ddc02d20f9783b8b080fc6ef11142 (diff) | |
download | ninja-bc7ffffb2bac3bf09d17d855d32a5f0d154fab3b.tar.gz |
Styles Controller - Re-add dirty event. Add data- attribute to keep created stylesheets.
Diffstat (limited to 'js/panels')
-rw-r--r-- | js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js index cd86261c..e2193ba0 100644 --- a/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js +++ b/js/panels/css-panel/style-sheets-view.reel/style-sheets-view.js | |||
@@ -176,7 +176,7 @@ exports.StyleSheetsView = Montage.create(Component, { | |||
176 | } | 176 | } |
177 | }, | 177 | }, |
178 | 178 | ||
179 | handleStyleSheetModified : { | 179 | handleStyleSheetDirty : { |
180 | value: function(e) { | 180 | value: function(e) { |
181 | this.needsDraw = true; | 181 | this.needsDraw = true; |
182 | } | 182 | } |
@@ -193,7 +193,7 @@ exports.StyleSheetsView = Montage.create(Component, { | |||
193 | prepareForDraw : { | 193 | prepareForDraw : { |
194 | value: function() { | 194 | value: function() { |
195 | this.eventManager.addEventListener("styleSheetsReady", this, false); | 195 | this.eventManager.addEventListener("styleSheetsReady", this, false); |
196 | this.eventManager.addEventListener("styleSheetModified", this, false); | 196 | this.eventManager.addEventListener("styleSheetDirty", this, false); |
197 | } | 197 | } |
198 | }, | 198 | }, |
199 | draw : { | 199 | draw : { |