aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-14 12:05:41 -0700
committerNivesh Rajbhandari2012-05-14 12:05:41 -0700
commit734b6ad96d25bb67d0db4a0a75c331468e194809 (patch)
treeed676df68f6a41fe57d7520a5e8a063a670cc19e /js/controllers
parent3b158d7368a41a634b839281fede96445907d15b (diff)
downloadninja-734b6ad96d25bb67d0db4a0a75c331468e194809.tar.gz
Fixing 3d to work in banner templates.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/document-controller.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js
index d88059ab..3b6eb5bf 100755
--- a/js/controllers/document-controller.js
+++ b/js/controllers/document-controller.js
@@ -683,8 +683,11 @@ if(this.activeDocument && this.application.ninja.coreIoApi.cloudAvailable()){
683 } 683 }
684 684
685 if(needsRule) { 685 if(needsRule) {
686 rule = sc.addRule('body{}'); 686// rule = sc.addRule('body{}');
687// sc.setStyles(rule, styles);
688 rule = sc.addRule('.ninjaUserDoc{}');
687 sc.setStyles(rule, styles); 689 sc.setStyles(rule, styles);
690 sc.addClass(docRoot, "ninjaUserDoc");
688 } 691 }
689 } 692 }
690 } 693 }