diff --git a/www/Dashboard.js b/www/Dashboard.js index ac7a4582..bdcc8498 100644 --- a/www/Dashboard.js +++ b/www/Dashboard.js @@ -235,11 +235,11 @@ Ext.define('PMG.dashboard.SubscriptionInfo', { data.icon = 'check green'; data.message = gettext('Your subscription status is valid.'); break; - case 1: + case 1: data.icon = 'exclamation-triangle yellow'; data.message = gettext('Warning: Your subscription levels are not the same.'); break; - case 0: + case 0: data.icon = 'times-circle red'; data.message = gettext('You have at least one node without subscription.'); break; diff --git a/www/MainView.js b/www/MainView.js index 915d07ed..fe4acc30 100644 --- a/www/MainView.js +++ b/www/MainView.js @@ -16,7 +16,7 @@ Ext.define('PBS.MainView', { } } }, - + beforeChangePath: function(path, subpath, action) { var me = this; @@ -46,7 +46,7 @@ Ext.define('PBS.MainView', { action.resume(); }, - + changePath: function(path,subpath) { var me = this; var contentpanel = me.lookupReference('contentpanel'); @@ -225,4 +225,4 @@ Ext.define('PBS.MainView', { ] }); - + diff --git a/www/Subscription.js b/www/Subscription.js index a64e0c78..f5a64459 100644 --- a/www/Subscription.js +++ b/www/Subscription.js @@ -1,7 +1,7 @@ /*global Blob,Proxmox*/ Ext.define('PBS.SubscriptionKeyEdit', { extend: 'Proxmox.window.Edit', - + title: gettext('Upload Subscription Key'), width: 300, autoLoad: true, @@ -81,12 +81,12 @@ Ext.define('PBS.Subscription', { Ext.apply(me, { url: '/api2/json' + baseurl, cwidth1: 170, - tbar: [ + tbar: [ { text: gettext('Upload Subscription Key'), handler: function() { var win = Ext.create('PBS.SubscriptionKeyEdit', { - url: '/api2/extjs/' + baseurl + url: '/api2/extjs/' + baseurl }); win.show(); win.on('destroy', reload);