Suppress error messages when loading archive.

This commit is contained in:
Peter 2014-02-13 23:29:13 +01:00
parent 7b78018464
commit c592027d1d

View File

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