diff options
author | Eric Guzman | 2012-07-18 17:11:40 -0700 |
---|---|---|
committer | Eric Guzman | 2012-07-18 17:11:40 -0700 |
commit | 36be3f52a0eaf176213f4d46056e684e0a1b7653 (patch) | |
tree | 64468600712fdad6657727b19b3908ddc4b898a6 /js/panels/css-panel/style-sheet.reel/style-sheet.js | |
parent | 693d9cd24e9eeee084614925c2a4a8e757f0a82f (diff) | |
download | ninja-36be3f52a0eaf176213f4d46056e684e0a1b7653.tar.gz |
Style Sheets - Show dirty marker when editing media attribute
Diffstat (limited to 'js/panels/css-panel/style-sheet.reel/style-sheet.js')
-rw-r--r-- | js/panels/css-panel/style-sheet.reel/style-sheet.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/css-panel/style-sheet.reel/style-sheet.js b/js/panels/css-panel/style-sheet.reel/style-sheet.js index 8a8e7dbf..3a0060b2 100644 --- a/js/panels/css-panel/style-sheet.reel/style-sheet.js +++ b/js/panels/css-panel/style-sheet.reel/style-sheet.js | |||
@@ -202,7 +202,7 @@ exports.StyleSheet = Montage.create(Component, { | |||
202 | set : function(value) { | 202 | set : function(value) { |
203 | if(value === this._mediaText) { return; } | 203 | if(value === this._mediaText) { return; } |
204 | 204 | ||
205 | this._source.ownerNode.setAttribute('media', value); | 205 | this.application.ninja.stylesController.setMediaAttribute(this._source, value); |
206 | 206 | ||
207 | this._mediaText = value; | 207 | this._mediaText = value; |
208 | 208 | ||