-/*global Proxmox*/
Ext.define('PMG.Application', {
extend: 'Ext.app.Application',
appProperty: 'app',
stores: [
- 'NavigationStore'
+ 'NavigationStore',
],
layout: 'fit',
targetview: me.targetview,
});
if (skipCheck !== true) {
- Proxmox.Utils.checked_command(function() {}); // display subscription status
+ Proxmox.Utils.checked_command(Ext.emptyFn); // display subscription status
}
},
if (pathname === "/quarantine") {
me.targetview = 'quarantineview';
- if (qs.ticket == undefined && loggedin) {
+ if (qs.ticket === undefined && loggedin) {
me.view = 'quarantineview';
}
} else if (loggedin && cookie.substr(0, 7) !== 'PMGQUAR') {
PMG.view = me.view;
me.currentView = Ext.create({
xtype: me.view,
- targetview: me.targetview
+ targetview: me.targetview,
});
- }
+ },
});
Ext.application('PMG.Application');