]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/Application.js
dashboard: reduce noise in current kernel version
[pmg-gui.git] / js / Application.js
index 20307f669bcd5f648af6beb14fe353ea486c75bf..f5f673c5420050fcf1ce1df38210e81835b45b1a 100644 (file)
@@ -5,7 +5,7 @@ Ext.define('PMG.Application', {
     appProperty: 'app',
 
     stores: [
-       'NavigationStore'
+       'NavigationStore',
     ],
 
     layout: 'fit',
@@ -33,7 +33,7 @@ Ext.define('PMG.Application', {
            targetview: me.targetview,
        });
        if (skipCheck !== true) {
-           Proxmox.Utils.checked_command(function() {}); // display subscription status
+           Proxmox.Utils.checked_command(Ext.emptyFn); // display subscription status
        }
     },
 
@@ -57,7 +57,7 @@ Ext.define('PMG.Application', {
        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') {
@@ -67,9 +67,9 @@ Ext.define('PMG.Application', {
        PMG.view = me.view;
        me.currentView = Ext.create({
            xtype: me.view,
-           targetview: me.targetview
+           targetview: me.targetview,
        });
-    }
+    },
 });
 
 Ext.application('PMG.Application');