resources/Editors/Editor.Roo.LayoutDialog.bjs
[app.Builder.js] / resources / Editors / Editor.Roo.LayoutDialog.js
index ba04bfd..aa93007 100644 (file)
@@ -524,26 +524,6 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
    loadData : function(data) { 
    
        //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;