Sample/Window.js
[app.Builder.js] / Sample / Window.js
index c2a7950..d178f29 100644 (file)
@@ -3308,9 +3308,11 @@ Window=new XObject({
                                                                         // does something similar to xobject..
                                                                         item.pack = (typeof(item.pack) == 'undefined') ?  'add' : item.pack;
                                                                         
+                                                                        // pack is forced to 'false'
                                                                         if (item.pack===false || item.pack === 'false') {  // no ;
                                                                             return;
                                                                         }
+                                                                        
                                                                         print("CREATE: " + item['|xns'] + '.' + item['xtype']);
                                                                         
                                                                         
@@ -3370,8 +3372,9 @@ Window=new XObject({
                                                                         } 
                                                                         var altctr =  XObject.baseXObject({ xtype:  ctr} );
                                                                         var pack_m  = false;
-                                                                        if (!item.pack && altctr) {
+                                                                        if (!item.pack && altctr !== false) {
                                                                             // try XObject.
+                                                                            print("SETTING PACK TO XObjectBase method");
                                                                             pack_m = altctr.prototype.pack;