mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-29 07:04:15 +00:00
ext6migrate: remove trailing whitespaces
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
7e27f5d1b4
commit
9fb537753a
@ -29,7 +29,7 @@ Ext.define('PVE.button.ConsoleButton', {
|
|||||||
me.spiceMenu = Ext.create('Ext.menu.Item', {
|
me.spiceMenu = Ext.create('Ext.menu.Item', {
|
||||||
text: 'SPICE',
|
text: 'SPICE',
|
||||||
iconCls: 'pve-itype-icon-virt-viewer',
|
iconCls: 'pve-itype-icon-virt-viewer',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
PVE.Utils.openConsoleWindow('vv', me.consoleType, me.vmid, me.nodename, me.consoleName);
|
PVE.Utils.openConsoleWindow('vv', me.consoleType, me.vmid, me.nodename, me.consoleName);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -37,7 +37,7 @@ Ext.define('PVE.button.ConsoleButton', {
|
|||||||
var noVncMenu = Ext.create('Ext.menu.Item', {
|
var noVncMenu = Ext.create('Ext.menu.Item', {
|
||||||
text: 'noVNC',
|
text: 'noVNC',
|
||||||
iconCls: 'pve-itype-icon-novnc',
|
iconCls: 'pve-itype-icon-novnc',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
PVE.Utils.openConsoleWindow('html5', me.consoleType, me.vmid, me.nodename, me.consoleName);
|
PVE.Utils.openConsoleWindow('html5', me.consoleType, me.vmid, me.nodename, me.consoleName);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -48,7 +48,7 @@ Ext.define('PVE.button.ConsoleButton', {
|
|||||||
|
|
||||||
Ext.apply(me, {
|
Ext.apply(me, {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
PVE.Utils.openDefaultConsoleWindow(me.enableSpice, me.consoleType, me.vmid,
|
PVE.Utils.openDefaultConsoleWindow(me.enableSpice, me.consoleType, me.vmid,
|
||||||
me.nodename, me.consoleName);
|
me.nodename, me.consoleName);
|
||||||
},
|
},
|
||||||
menu: new Ext.menu.Menu({
|
menu: new Ext.menu.Menu({
|
||||||
|
@ -20,7 +20,7 @@ Ext.define('PVE.panel.Firewall', {
|
|||||||
throw "unknown firewall panel type";
|
throw "unknown firewall panel type";
|
||||||
}
|
}
|
||||||
|
|
||||||
var list_refs_url = me.fwtype === 'vm' ? (me.base_url + '/refs') :
|
var list_refs_url = me.fwtype === 'vm' ? (me.base_url + '/refs') :
|
||||||
'/cluster/firewall/refs';
|
'/cluster/firewall/refs';
|
||||||
|
|
||||||
var items = [
|
var items = [
|
||||||
@ -42,13 +42,13 @@ Ext.define('PVE.panel.Firewall', {
|
|||||||
});
|
});
|
||||||
items.push({
|
items.push({
|
||||||
xtype: 'pveFirewallAliases',
|
xtype: 'pveFirewallAliases',
|
||||||
base_url: '/cluster/firewall/aliases',
|
base_url: '/cluster/firewall/aliases',
|
||||||
itemId: 'aliases'
|
itemId: 'aliases'
|
||||||
});
|
});
|
||||||
items.push({
|
items.push({
|
||||||
xtype: 'pveIPSet',
|
xtype: 'pveIPSet',
|
||||||
base_url: '/cluster/firewall/ipset',
|
base_url: '/cluster/firewall/ipset',
|
||||||
list_refs_url: list_refs_url,
|
list_refs_url: list_refs_url,
|
||||||
itemId: 'ipset'
|
itemId: 'ipset'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -56,13 +56,13 @@ Ext.define('PVE.panel.Firewall', {
|
|||||||
if (me.fwtype === 'vm') {
|
if (me.fwtype === 'vm') {
|
||||||
items.push({
|
items.push({
|
||||||
xtype: 'pveFirewallAliases',
|
xtype: 'pveFirewallAliases',
|
||||||
base_url: me.base_url + '/aliases',
|
base_url: me.base_url + '/aliases',
|
||||||
itemId: 'aliases'
|
itemId: 'aliases'
|
||||||
});
|
});
|
||||||
items.push({
|
items.push({
|
||||||
xtype: 'pveIPSet',
|
xtype: 'pveIPSet',
|
||||||
base_url: me.base_url + '/ipset',
|
base_url: me.base_url + '/ipset',
|
||||||
list_refs_url: list_refs_url,
|
list_refs_url: list_refs_url,
|
||||||
itemId: 'ipset'
|
itemId: 'ipset'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ Ext.define('PVE.panel.SubConfig', {
|
|||||||
getHState: function(itemId) {
|
getHState: function(itemId) {
|
||||||
/*jslint confusion: true */
|
/*jslint confusion: true */
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
if (!itemId) {
|
if (!itemId) {
|
||||||
if (me.getActiveTab() === undefined) {
|
if (me.getActiveTab() === undefined) {
|
||||||
me.setActiveTab(0);
|
me.setActiveTab(0);
|
||||||
@ -40,7 +40,7 @@ Ext.define('PVE.panel.SubConfig', {
|
|||||||
|
|
||||||
var sp = Ext.state.Manager.getProvider();
|
var sp = Ext.state.Manager.getProvider();
|
||||||
var state = sp.get(me.phstateid);
|
var state = sp.get(me.phstateid);
|
||||||
|
|
||||||
var hsregex = /^([^\-\s]+)-(\S+)?$/;
|
var hsregex = /^([^\-\s]+)-(\S+)?$/;
|
||||||
|
|
||||||
if (state && state.value) {
|
if (state && state.value) {
|
||||||
@ -54,7 +54,7 @@ Ext.define('PVE.panel.SubConfig', {
|
|||||||
Ext.apply(me, {
|
Ext.apply(me, {
|
||||||
listeners: {
|
listeners: {
|
||||||
afterrender: function(tp) {
|
afterrender: function(tp) {
|
||||||
// if we have lazy items,
|
// if we have lazy items,
|
||||||
// we saved the tabname in savedTab
|
// we saved the tabname in savedTab
|
||||||
if (me.activeTab === undefined && me.savedTab) {
|
if (me.activeTab === undefined && me.savedTab) {
|
||||||
me.setActiveTab(me.savedTab);
|
me.setActiveTab(me.savedTab);
|
||||||
|
Loading…
Reference in New Issue
Block a user