aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/styles-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controllers/styles-controller.js')
-rwxr-xr-xjs/controllers/styles-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js
index 0f847653..e7f95335 100755
--- a/js/controllers/styles-controller.js
+++ b/js/controllers/styles-controller.js
@@ -1437,11 +1437,11 @@ var stylesController = exports.StylesController = Montage.create(Component, {
1437 1437
1438 ///// Dispatch modified event 1438 ///// Dispatch modified event
1439 NJevent('styleSheetModified', eventData); 1439 NJevent('styleSheetModified', eventData);
1440 this.currentDocument.model.needsSave = true;
1440 1441
1441 ///// If the sheet doesn't already exist in the list of modified 1442 ///// If the sheet doesn't already exist in the list of modified
1442 ///// sheets, dispatch dirty event and add the sheet to the list 1443 ///// sheets, dispatch dirty event and add the sheet to the list
1443 if(sheetSearch.length === 0) { 1444 if(sheetSearch.length === 0) {
1444 this.currentDocument.model.needsSave = true;
1445 this.dirtyStyleSheets.push({ 1445 this.dirtyStyleSheets.push({
1446 document : sheet.ownerNode.ownerDocument, 1446 document : sheet.ownerNode.ownerDocument,
1447 stylesheet : sheet 1447 stylesheet : sheet