[be/csv,bugfix][xs]: bugfix to last commit.
This commit is contained in:
parent
3837123eca
commit
8cb9ccba9c
@ -30,7 +30,7 @@ this.recline.Backend.CSV = this.recline.Backend.CSV || {};
|
||||
reader.onerror = function (e) {
|
||||
alert('Failed to load file. Code: ' + e.target.error.code);
|
||||
};
|
||||
reader.readAsText(file, encoding);
|
||||
reader.readAsText(dataset.file, encoding);
|
||||
} else if (dataset.data) {
|
||||
var rows = my.parseCSV(dataset.data, dataset);
|
||||
dfd.resolve({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user