[be/csv,bugfix][xs]: bugfix to last commit.

This commit is contained in:
Rufus Pollock 2012-06-24 14:47:32 +01:00
parent 3837123eca
commit 8cb9ccba9c

View File

@ -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({