//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) {