diff options
author | Eric Guzman | 2012-05-07 10:38:29 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-07 10:38:29 -0700 |
commit | a62f57cf6beee332ff60a48f5e26d0084b4a5432 (patch) | |
tree | 2bf58813db8634a7c88f9db617dc5db47cb634d2 /js/controllers | |
parent | 8b9024faa65566a18e4548f198b43f18390e6bc5 (diff) | |
download | ninja-a62f57cf6beee332ff60a48f5e26d0084b4a5432.tar.gz |
Style sheets - Add sheet action
Diffstat (limited to 'js/controllers')
-rwxr-xr-x | js/controllers/styles-controller.js | 2 |
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); |