resources/Editors/Editor.Roo.LayoutDialog.bjs
[app.Builder.js] / resources / Editors / Editor.Roo.LayoutDialog.js
index 7d48e54..9c585a3 100644 (file)
@@ -40,7 +40,18 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
        
      
      ],
-     fields : [ 'active', 'dataIndex', 'type','title', 'width', 'ftype', 'display_field' ],
+     fields : [ 
+         'active', 
+         'dataIndex', 
+         'type',
+         'title', 
+         'width', 
+         'ftype', 
+         'display_field',
+         'relates_to_table',
+         'relates_to_col',
+         'relates_to_schema'
+     ],
      id : 'dataindex',
      xns : Roo.data,
      xtype : 'SimpleStore'
@@ -509,7 +520,7 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
            
            var d = [];
            
-           for(var j = 0; j = fields.length; j++){
+           for(var j = 0; j < fields.length; j++){
                Roo.log(j);
                Roo.log(fields);
                Roo.log(fields.items[j]);