resources/Editors/Editor.Roo.LayoutDialog.bjs
authorEdward <edward@roojs.com>
Wed, 6 May 2015 05:38:40 +0000 (13:38 +0800)
committerEdward <edward@roojs.com>
Wed, 6 May 2015 05:38:40 +0000 (13:38 +0800)
resources/Editors/Editor.Roo.LayoutDialog.js

resources/Editors/Editor.Roo.LayoutDialog.bjs
resources/Editors/Editor.Roo.LayoutDialog.js

index 0e34ba7..3ed6fb1 100644 (file)
             {
              "xtype" : "SimpleStore",
              "$ data" : "[ \n    [ 'ComboBox', \"ComboBox\"],\n    [ 'TextField' , \"TextField\"],\n    [ 'NumberField', \"NumberField\"],\n    [ 'TextArea', \"TextArea\"],\n    [ 'HtmlEditor', \"HtmlEditor\"],\n    [ 'Hidden', \"Hidden\"],\n    [ 'DateField', \"DateField\"],\n    [ 'Checkbox', \"Checkbox\"]    \n    // checkbox?\n]\n",
-             "$ fields" : "[  'ftype', 'fname']",
+             "$ fields" : "[  'code', 'value']",
              "$ xns" : "Roo.data",
              "* prop" : "store"
             }
index 9752961..bae216f 100644 (file)
@@ -320,7 +320,7 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
               [ 'Checkbox', "Checkbox"]    
               // checkbox?
           ],
-          fields : [  'ftype', 'fname'],
+          fields : [  'code', 'value'],
           xns : Roo.data,
           xtype : 'SimpleStore'
          },