Fix for Android

Fixes #100
This commit is contained in:
mossroy 2015-01-29 15:30:52 +01:00
parent f9a7a31a6c
commit ffeed1bd4e

View File

@ -240,7 +240,7 @@ define(['jquery', 'title', 'archive', 'util', 'cookies','geometry','osabstractio
});
}
if (storages !== null && storages.length > 0 && storages[0].storageName && storages[0].storageName.length > 0) {
if (storages !== null && storages.length > 0) {
// Make a fake first access to device storage, in order to ask the user for confirmation if necessary.
// This way, it is only done once at this moment, instead of being done several times in callbacks
// After that, we can start looking for archives