Pman.js
authorAlan Knowles <alan@akbkhome.com>
Sat, 31 Mar 2012 08:39:33 +0000 (16:39 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 31 Mar 2012 08:39:33 +0000 (16:39 +0800)
Pman.js

diff --git a/Pman.js b/Pman.js
index 2ac2775..78227f4 100644 (file)
--- a/Pman.js
+++ b/Pman.js
@@ -826,7 +826,10 @@ Pman = new Roo.Document(
             
         }
         
-        
+        if ( obj.isTop) {
+            // false parent... use it..
+            return;
+        }
         
         if (typeof(obj.parent) == 'undefined') {
             console.log("Parent is undefined");