aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/styles-controller.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-06-29 15:53:27 -0700
committerJose Antonio Marquez2012-06-29 15:53:27 -0700
commit4fa5952454926c069a55f6a8da277ccfa8d53c75 (patch)
treecffe315dde57da0901d3af5be93a510093e04dc7 /js/controllers/styles-controller.js
parentdeadb791e6afc9cc4e81a0d9c6a0b52f0c6d1372 (diff)
parentec69c8761f798eaf39c4a154997f8bc54b7e47f4 (diff)
downloadninja-4fa5952454926c069a55f6a8da277ccfa8d53c75.tar.gz
Merge branch 'refs/heads/Ninja-Internal' into Document
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 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