ui: trailing whitespace cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-12-18 19:21:59 +01:00
parent 9710e5d00e
commit 2e75b6d8bf
3 changed files with 8 additions and 8 deletions

View File

@ -235,11 +235,11 @@ Ext.define('PMG.dashboard.SubscriptionInfo', {
data.icon = 'check green'; data.icon = 'check green';
data.message = gettext('Your subscription status is valid.'); data.message = gettext('Your subscription status is valid.');
break; break;
case 1: case 1:
data.icon = 'exclamation-triangle yellow'; data.icon = 'exclamation-triangle yellow';
data.message = gettext('Warning: Your subscription levels are not the same.'); data.message = gettext('Warning: Your subscription levels are not the same.');
break; break;
case 0: case 0:
data.icon = 'times-circle red'; data.icon = 'times-circle red';
data.message = gettext('You have at least one node without subscription.'); data.message = gettext('You have at least one node without subscription.');
break; break;

View File

@ -16,7 +16,7 @@ Ext.define('PBS.MainView', {
} }
} }
}, },
beforeChangePath: function(path, subpath, action) { beforeChangePath: function(path, subpath, action) {
var me = this; var me = this;
@ -46,7 +46,7 @@ Ext.define('PBS.MainView', {
action.resume(); action.resume();
}, },
changePath: function(path,subpath) { changePath: function(path,subpath) {
var me = this; var me = this;
var contentpanel = me.lookupReference('contentpanel'); var contentpanel = me.lookupReference('contentpanel');
@ -225,4 +225,4 @@ Ext.define('PBS.MainView', {
] ]
}); });

View File

@ -1,7 +1,7 @@
/*global Blob,Proxmox*/ /*global Blob,Proxmox*/
Ext.define('PBS.SubscriptionKeyEdit', { Ext.define('PBS.SubscriptionKeyEdit', {
extend: 'Proxmox.window.Edit', extend: 'Proxmox.window.Edit',
title: gettext('Upload Subscription Key'), title: gettext('Upload Subscription Key'),
width: 300, width: 300,
autoLoad: true, autoLoad: true,
@ -81,12 +81,12 @@ Ext.define('PBS.Subscription', {
Ext.apply(me, { Ext.apply(me, {
url: '/api2/json' + baseurl, url: '/api2/json' + baseurl,
cwidth1: 170, cwidth1: 170,
tbar: [ tbar: [
{ {
text: gettext('Upload Subscription Key'), text: gettext('Upload Subscription Key'),
handler: function() { handler: function() {
var win = Ext.create('PBS.SubscriptionKeyEdit', { var win = Ext.create('PBS.SubscriptionKeyEdit', {
url: '/api2/extjs/' + baseurl url: '/api2/extjs/' + baseurl
}); });
win.show(); win.show();
win.on('destroy', reload); win.on('destroy', reload);