aboutsummaryrefslogtreecommitdiff
path: root/js/models
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-07 22:26:28 -0700
committerValerio Virgillito2012-06-07 22:26:28 -0700
commitd14249dd2d76e9eb8d14733c10393d36bd2ea8ee (patch)
tree5bd5147b1b130c81ca8be3dbc192a04038247062 /js/models
parenta67e6e8783dcdfd3a3bbcff36dc086dded6c7656 (diff)
parent4a4a4498b0c55111ff49d1dc939fe22cbe31e975 (diff)
downloadninja-d14249dd2d76e9eb8d14733c10393d36bd2ea8ee.tar.gz
Merge pull request #283 from mqg734/BodyPI
Body PI fixes.
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")) {