diff options
author | hwc487 | 2012-06-29 15:22:53 -0700 |
---|---|---|
committer | hwc487 | 2012-06-29 15:22:53 -0700 |
commit | 9f5901c76442df4d6dfff261706a4ef11c2f1536 (patch) | |
tree | 650ba70f1856a47328d35c485a96e89240529149 /js/controllers/styles-controller.js | |
parent | 3df60279083f2cda60b3b871037c6d58454de5b2 (diff) | |
parent | ec69c8761f798eaf39c4a154997f8bc54b7e47f4 (diff) | |
download | ninja-9f5901c76442df4d6dfff261706a4ef11c2f1536.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into GridFixes
Diffstat (limited to 'js/controllers/styles-controller.js')
-rwxr-xr-x | js/controllers/styles-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js index e25ed20c..478fc1db 100755 --- a/js/controllers/styles-controller.js +++ b/js/controllers/styles-controller.js | |||
@@ -1440,11 +1440,11 @@ var stylesController = exports.StylesController = Montage.create(Component, { | |||
1440 | 1440 | ||
1441 | ///// Dispatch modified event | 1441 | ///// Dispatch modified event |
1442 | NJevent('styleSheetModified', eventData); | 1442 | NJevent('styleSheetModified', eventData); |
1443 | this.currentDocument.model.needsSave = true; | ||
1443 | 1444 | ||
1444 | ///// If the sheet doesn't already exist in the list of modified | 1445 | ///// If the sheet doesn't already exist in the list of modified |
1445 | ///// sheets, dispatch dirty event and add the sheet to the list | 1446 | ///// sheets, dispatch dirty event and add the sheet to the list |
1446 | if(sheetSearch.length === 0) { | 1447 | if(sheetSearch.length === 0) { |
1447 | this.currentDocument.model.needsSave = true; | ||
1448 | this.dirtyStyleSheets.push({ | 1448 | this.dirtyStyleSheets.push({ |
1449 | document : sheet.ownerNode.ownerDocument, | 1449 | document : sheet.ownerNode.ownerDocument, |
1450 | stylesheet : sheet | 1450 | stylesheet : sheet |