aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/elements
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-14 13:46:46 -0800
committerNivesh Rajbhandari2012-02-14 13:46:46 -0800
commit43ca408a498a7895c26bacf7135e65e6b5b3602a (patch)
tree4935ea1a35e89b0070380276be361dc80e69f5b2 /js/controllers/elements
parentd77deb60ade63d8526ce16d0b104285411218e14 (diff)
parent997ce3fb65f27b3d6f331f63b5dc22d3c7fb8f1e (diff)
downloadninja-43ca408a498a7895c26bacf7135e65e6b5b3602a.tar.gz
Merge branch 'refs/heads/ninja-internal' into ToolFixes
Diffstat (limited to 'js/controllers/elements')
-rw-r--r--js/controllers/elements/stage-controller.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/controllers/elements/stage-controller.js b/js/controllers/elements/stage-controller.js
index af7c4858..a8546662 100644
--- 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;