DependTree/Window.js
[app.Builder.js] / Sample / Window.js
index c2a7950..4696e81 100644 (file)
@@ -2722,7 +2722,7 @@ Window=new XObject({
                                                                   //  console.log( '<b>' + p.name +'</b> ['+p.type+']');
                                                                         //GObject.TYPE_STRING,  // real key
                                                                         // GObject.TYPE_STRING, // real type
-                                                                        // GObject.TYPE_STRING, // docs ?
+                                                                        // GObject.TYPE_STRING, // docs ?this.el.set_value(iter, 0, p.name);et_value(iter, 0, p.name);
                                                                         // GObject.TYPE_STRING // func def?
                                                                         
                                                                     
@@ -3306,11 +3306,13 @@ Window=new XObject({
                                                                     {
                                                                     
                                                                         // does something similar to xobject..
-                                                                        item.pack = (typeof(item.pack) == 'undefined') ?  'add' : item.pack;
+                                                                        //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']);
                                                                         
                                                                         
@@ -3372,6 +3374,7 @@ Window=new XObject({
                                                                         var pack_m  = false;
                                                                         if (!item.pack && altctr) {
                                                                             // try XObject.
+                                                                            print("SETTING PACK TO XObjectBase method");
                                                                             pack_m = altctr.prototype.pack;
                                                                             
                                                                             
@@ -3387,6 +3390,7 @@ Window=new XObject({
                                                                         
                                                                         var args = [];
                                                                         if (!pack_m) {
+                                                                            item.pack = (typeof(item.pack) == 'undefined') ?  'add' : item.pack;
                                                                             if (typeof(item.pack) == 'string') {
                                                                                  
                                                                                 item.pack.split(',').forEach(function(e, i) {