aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/3D
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-14 12:05:41 -0700
committerNivesh Rajbhandari2012-05-14 12:05:41 -0700
commit734b6ad96d25bb67d0db4a0a75c331468e194809 (patch)
treeed676df68f6a41fe57d7520a5e8a063a670cc19e /js/helper-classes/3D
parent3b158d7368a41a634b839281fede96445907d15b (diff)
downloadninja-734b6ad96d25bb67d0db4a0a75c331468e194809.tar.gz
Fixing 3d to work in banner templates.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/helper-classes/3D')
-rwxr-xr-xjs/helper-classes/3D/view-utils.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/helper-classes/3D/view-utils.js b/js/helper-classes/3D/view-utils.js
index 22446403..8c338f84 100755
--- a/js/helper-classes/3D/view-utils.js
+++ b/js/helper-classes/3D/view-utils.js
@@ -358,9 +358,13 @@ exports.ViewUtils = Montage.create(Component, {
358 { 358 {
359 pt = this.childToParent( pt, child ); 359 pt = this.childToParent( pt, child );
360 360
361 if (child === this._stageElement) break; 361// if (child === this._stageElement) break;
362// child = child.offsetParent;
362 363
364 if (child === this._stageElement) break;
365 if (child === this._rootElement) break;
363 child = child.offsetParent; 366 child = child.offsetParent;
367 if (child === this._rootElement) break;
364 } 368 }
365 369
366 ///////////////////////////////////////////////////////// 370 /////////////////////////////////////////////////////////