resources/Editors/Editor.Roo.LayoutDialog.bjs
[app.Builder.js] / resources / Editors / Editor.Roo.LayoutDialog.js
index 91e91de..b02dbb7 100644 (file)
@@ -525,29 +525,8 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
    
        //alert("IPC:TEST:" + JSON.stringify(data,null,4));
    
-       var textFile = null;
-       
-       var makeTextFile = function (text) {
-           var data = new Blob([text], {type: 'text/plain'});
-   
-           // If we are replacing a previously generated file we need to
-           // manually revoke the object URL to avoid memory leaks.
-           if (textFile !== null) {
-             window.URL.revokeObjectURL(textFile);
-           }
-   
-           textFile = window.URL.createObjectURL(data);
-   
-           return textFile;
-         };
-       
-       
-       alert("IPC:TEST:" + makeTextFile(JSON.stringify(data,null,4)));
-       return;
-       
        var fields = _this.grid.dataSource.reader.recordType.prototype.fields;
        
-       
        var d = [];
    
        for (var k in data) { 
@@ -574,7 +553,7 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
                    field_type = 'NumberField';
                        
                    if(type_match[2] * 1  < 11){
-                       field_type = 'CheckBox';
+                       field_type = 'Checkbox';
                    }
                }
            }