Revert commit c592027, to re-enable error messages when data or coordinate files are not found

This commit is contained in:
mossroy 2014-02-28 16:35:23 +01:00
parent 26f0f5fbf8
commit 87a85d8e11

View File

@ -111,10 +111,10 @@ define(function(require) {
index + 1); index + 1);
}, function(error) { }, function(error) {
// TODO there must be a better to way to detect a FileNotFound // TODO there must be a better to way to detect a FileNotFound
// if (error != "NotFoundError") { if (error != "NotFoundError") {
// alert("Error reading data file " + index + " in directory " alert("Error reading data file " + index + " in directory "
// + directory + " : " + error); + directory + " : " + error);
// } }
}); });
}; };
@ -142,10 +142,10 @@ define(function(require) {
index + 1); index + 1);
}, function(error) { }, function(error) {
// TODO there must be a better to way to detect a FileNotFound // TODO there must be a better to way to detect a FileNotFound
// if (error != "NotFoundError") { if (error != "NotFoundError") {
// alert("Error reading coordinates file " + index + " in directory " alert("Error reading coordinates file " + index + " in directory "
// + directory + " : " + error); + directory + " : " + error);
// } }
}); });
}; };