pve-manager/www/mobile/app.js
2014-08-05 08:31:17 +02:00

15 lines
254 B
JavaScript

Ext.application({
launch: function() {
var me = this;
PVE.Workspace.setHistory(me.getHistory());
Ext.Ajax.on('requestexception', function(conn, response) {
if (response.status === 401) {
PVE.Workspace.showLogin();
}
});
}
});