app.model.isStorageExists(this.currentPath,
app.displayFolder.bind(app, app.model.currentPath, refresh),
function () {
+ $.mobile.popup.active && $.mobile.popup.active.close();
app.displayStorages();
- app.ui.alertPopup("'" + app.model.currentPath
- + "'\nnot found");
+ setTimeout(
+ function(){
+ app.ui.alertPopup(
+ 'Path "' + app.model.currentPath + '" does no longer exist'
+ );
+ },
+ 200
+ );
});
} else {
this.displayStorages();