Pman.Builder.Wizard.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 31 Oct 2011 04:40:08 +0000 (12:40 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 31 Oct 2011 04:40:08 +0000 (12:40 +0800)
Pman.Builder.Wizard.js

index fdeb0b0..8f88a4a 100644 (file)
@@ -406,6 +406,10 @@ Pman.Builder.Wizard = {
                 formElements.push( _t['Roo.form.DateField'](cc, {}));
                 return;
             }
+            if (ty  == 'float' ) {
+                formElements.push( _t['Roo.form.NumberField'](cc, {}));
+                return;
+            }
             if (ty  == 'int' ) {
                 cc.display = fcombo(cc.column);
                 if (cc.length) { 
@@ -413,10 +417,10 @@ Pman.Builder.Wizard = {
                     return;
                 }
                 formElements.push( _t['Roo.form.NumberField'](cc, {}));
+                return;
             }
             
             
-            fields.push({ name : cc.column, type : _t.typemap[cc.ctype]} );
         });