aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/styles-controller.js
diff options
context:
space:
mode:
authorEric Guzman2012-05-07 10:38:29 -0700
committerEric Guzman2012-05-07 10:38:29 -0700
commita62f57cf6beee332ff60a48f5e26d0084b4a5432 (patch)
tree2bf58813db8634a7c88f9db617dc5db47cb634d2 /js/controllers/styles-controller.js
parent8b9024faa65566a18e4548f198b43f18390e6bc5 (diff)
downloadninja-a62f57cf6beee332ff60a48f5e26d0084b4a5432.tar.gz
Style sheets - Add sheet action
Diffstat (limited to 'js/controllers/styles-controller.js')
-rwxr-xr-xjs/controllers/styles-controller.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js
index 3422427c..dfe7c69a 100755
--- a/js/controllers/styles-controller.js
+++ b/js/controllers/styles-controller.js
@@ -1252,6 +1252,8 @@ var stylesController = exports.StylesController = Montage.create(Component, {
1252 doc.head.appendChild(sheetElement); 1252 doc.head.appendChild(sheetElement);
1253 sheet = this.getSheetFromElement(sheetElement, doc); 1253 sheet = this.getSheetFromElement(sheetElement, doc);
1254 1254
1255 this.userStyleSheets.push(sheet);
1256
1255 this.styleSheetModified(sheet); 1257 this.styleSheetModified(sheet);
1256 1258
1257 NJevent('newStyleSheet', sheet); 1259 NJevent('newStyleSheet', sheet);