diff options
author | Jose Antonio Marquez | 2012-02-14 13:02:12 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-14 13:02:12 -0800 |
commit | b56ee334f8b0f8d15f4c86726b6c3779743ea84f (patch) | |
tree | 7b32276f368d0a541350f9727ad400806a008d31 /js | |
parent | 646b269da2387582531258d14a3f2ff550617323 (diff) | |
parent | 997ce3fb65f27b3d6f331f63b5dc22d3c7fb8f1e (diff) | |
download | ninja-b56ee334f8b0f8d15f4c86726b6c3779743ea84f.tar.gz |
Merge branch 'refs/heads/NinjaInternal' into FileIO
Diffstat (limited to 'js')
-rwxr-xr-x | js/controllers/elements/stage-controller.js | 4 | ||||
-rwxr-xr-x | js/ninja.reel/ninja.js | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/js/controllers/elements/stage-controller.js b/js/controllers/elements/stage-controller.js index af7c4858..a8546662 100755 --- a/js/controllers/elements/stage-controller.js +++ b/js/controllers/elements/stage-controller.js | |||
@@ -92,7 +92,11 @@ exports.StageController = Montage.create(ElementController, { | |||
92 | 92 | ||
93 | setProperty: { | 93 | setProperty: { |
94 | value: function(el, p, value) { | 94 | value: function(el, p, value) { |
95 | |||
95 | switch(p) { | 96 | switch(p) { |
97 | case "body-background": | ||
98 | el.elementModel.body.style.setProperty("background", value); | ||
99 | break; | ||
96 | case "background": | 100 | case "background": |
97 | el.elementModel.stageBackground.style.setProperty(p, value); | 101 | el.elementModel.stageBackground.style.setProperty(p, value); |
98 | break; | 102 | break; |
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 6c82cf30..43087c39 100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -189,7 +189,7 @@ exports.Ninja = Montage.create(Component, { | |||
189 | transitionStopRule = "*" | 189 | transitionStopRule = "*" |
190 | } | 190 | } |
191 | 191 | ||
192 | this.currentDocument.documentRoot.elementModel.controller.setProperty(this.currentDocument.documentRoot, "background", background); | 192 | this.currentDocument.documentRoot.elementModel.controller.setProperty(this.currentDocument.documentRoot, "body-background", background); |
193 | this.currentDocument.documentRoot.elementModel.controller.setProperty(this.currentDocument.documentRoot, "overflow", overflow); | 193 | this.currentDocument.documentRoot.elementModel.controller.setProperty(this.currentDocument.documentRoot, "overflow", overflow); |
194 | this.currentDocument.documentRoot.elementModel.controller.changeSelector(this.currentDocument.documentRoot, "transitionStopRule", transitionStopRule); | 194 | this.currentDocument.documentRoot.elementModel.controller.changeSelector(this.currentDocument.documentRoot, "transitionStopRule", transitionStopRule); |
195 | 195 | ||