Roo/doc/Entry.js
authorAlan Knowles <alan@roojs.com>
Fri, 9 Sep 2016 02:45:57 +0000 (10:45 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 9 Sep 2016 02:45:57 +0000 (10:45 +0800)
Roo/doc/Entry.js

index c2c1b6e..4a66e47 100644 (file)
@@ -74,10 +74,21 @@ Roo.extend(Roo.doc.Entry, Roo.bootstrap.Component,  {
     addxtype :   function (tree, cntr)
     {
         return this.addxtypeChild(tree,cntr);
-    }
-
+    },
     
     
+    onRender : function(ct, position)
+    {
+        
+        Roo.doc.Entry._calls++;
+        if (Roo.doc.Entry._calls > 1) {
+            return;
+        }
+        
+    // call onRender once... and block next call...?
+    
+        Roo.doc.Component.prototype.onRender.call(this, ct, position);
+    }
    
 });