]>
git.proxmox.com Git - proxmox-backup.git/blob - www/Application.js
2 Ext
.define('PBS.Application', {
3 extend
: 'Ext.app.Application',
14 realignWindows: function() {
15 var modalwindows
= Ext
.ComponentQuery
.query('window[modal]');
16 Ext
.Array
.forEach(modalwindows
, function(item
) {
23 //Proxmox.Utils.authClear();
24 //me.changeView('loginview', true);
27 changeView: function(view
, skipCheck
) {
34 Ext
.on('resize', me
.realignWindows
);
36 var provider
= new Ext
.state
.LocalStorageProvider({ prefix
: 'ext-pbs-' });
37 Ext
.state
.Manager
.setProvider(provider
);
39 // fixme: show login window if not loggedin
41 me
.currentView
= Ext
.create({
47 Ext
.application('PBS.Application');