'.xlsx': {mime:'', icon:'text.png'},
'.pdf': {mime:'', icon:'pdf.png'},
'.odp': {mime:'', icon:'ppt.png'},
- '.ppt': {mime:'', icon:'ppt.png'}
+ '.ppt': {mime:'', icon:'ppt.png'},
+ '.wgt': {mime:'application/widget', icon:'etc.png'}
},
/**
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();
document.addEventListener('webkitvisibilitychange', function () {
if (document.webkitVisibilityState === 'visible') {
+ self.refreshSelectAllStatus();
app.refreshCurrentPage(true);
}
});
if (this.infoPopupVisibility) {
this.toggleInfoPopup();
}
+
+ this.refreshSelectAllStatus();
},
/**