aboutsummaryrefslogtreecommitdiff
path: root/js/models
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-06-07 15:17:19 -0700
committerNivesh Rajbhandari2012-06-07 15:17:19 -0700
commit21098080e7716379ceefefca5f3cc1850ac78fa7 (patch)
treed7d4d0091eccf23a31b05096cdcdeb597cff63e2 /js/models
parentb75fe9369f7caec0351d298f7106c8d59572b440 (diff)
downloadninja-21098080e7716379ceefefca5f3cc1850ac78fa7.tar.gz
Body PI fixes.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/models')
-rwxr-xr-xjs/models/element-model.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/models/element-model.js b/js/models/element-model.js
index c9fb58d8..76f15b21 100755
--- a/js/models/element-model.js
+++ b/js/models/element-model.js
@@ -49,6 +49,12 @@ var getInfoForElement = function(el) {
49 isShape = true; 49 isShape = true;
50 } 50 }
51 51
52 if(el.nodeName.toLowerCase() === "ninja-content") {
53 elementName = "body";
54 controller = elementNameToController(elementName);
55 pi = elementNameToPi(elementName);
56 }
57
52 // TODO: Add this in case there is no controller for the component 58 // TODO: Add this in case there is no controller for the component
53 /* 59 /*
54 if(el.getAttribute("data-montage-id")) { 60 if(el.getAttribute("data-montage-id")) {