diff options
author | Nivesh Rajbhandari | 2012-06-07 15:32:05 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-06-07 15:32:05 -0700 |
commit | 4a4a4498b0c55111ff49d1dc939fe22cbe31e975 (patch) | |
tree | 5c11b7463432f887751713d693fd6d6c9024561c /js/controllers/elements/body-controller.js | |
parent | 21098080e7716379ceefefca5f3cc1850ac78fa7 (diff) | |
parent | 2e331fc1daba0f6f29191a36cf7647f6f5dc36ee (diff) | |
download | ninja-4a4a4498b0c55111ff49d1dc939fe22cbe31e975.tar.gz |
Merge branch 'refs/heads/ninja-internal' into BodyPI
Conflicts:
js/controllers/elements/body-controller.js
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/controllers/elements/body-controller.js')
-rwxr-xr-x | js/controllers/elements/body-controller.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/controllers/elements/body-controller.js b/js/controllers/elements/body-controller.js index 106fdcd0..0dc11b82 100755 --- a/js/controllers/elements/body-controller.js +++ b/js/controllers/elements/body-controller.js | |||
@@ -30,6 +30,7 @@ exports.BodyController = Montage.create(ElementController, { | |||
30 | value: function(el, p) { | 30 | value: function(el, p) { |
31 | switch(p) { | 31 | switch(p) { |
32 | case "background" : | 32 | case "background" : |
33 | case "background-color": | ||
33 | return this.application.ninja.colorController.getColorObjFromCss(this.application.ninja.stylesController.getElementStyle(el, "background-color")); | 34 | return this.application.ninja.colorController.getColorObjFromCss(this.application.ninja.stylesController.getElementStyle(el, "background-color")); |
34 | case "border": | 35 | case "border": |
35 | return 0; | 36 | return 0; |
@@ -47,8 +48,8 @@ exports.BodyController = Montage.create(ElementController, { | |||
47 | setProperty: { | 48 | setProperty: { |
48 | value: function(el, p, value) { | 49 | value: function(el, p, value) { |
49 | switch(p) { | 50 | switch(p) { |
50 | case "body-background": | ||
51 | case "background": | 51 | case "background": |
52 | case "background-color": | ||
52 | this.application.ninja.stylesController.setElementStyle(el, "background-color", value); | 53 | this.application.ninja.stylesController.setElementStyle(el, "background-color", value); |
53 | break; | 54 | break; |
54 | case "overflow": | 55 | case "overflow": |