mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 09:20:18 +00:00
ui: FW/Alias: whitespace/indentation fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c10fabfe26
commit
a22fc39f09
@ -14,12 +14,12 @@ Ext.define('PVE.FirewallAliasEdit', {
|
||||
me.isCreate = (me.alias_name === undefined);
|
||||
|
||||
if (me.isCreate) {
|
||||
me.url = '/api2/extjs' + me.base_url;
|
||||
me.method = 'POST';
|
||||
} else {
|
||||
me.url = '/api2/extjs' + me.base_url + '/' + me.alias_name;
|
||||
me.method = 'PUT';
|
||||
}
|
||||
me.url = '/api2/extjs' + me.base_url;
|
||||
me.method = 'POST';
|
||||
} else {
|
||||
me.url = '/api2/extjs' + me.base_url + '/' + me.alias_name;
|
||||
me.method = 'PUT';
|
||||
}
|
||||
|
||||
var items = [
|
||||
{
|
||||
@ -56,7 +56,7 @@ Ext.define('PVE.FirewallAliasEdit', {
|
||||
|
||||
if (!me.isCreate) {
|
||||
me.load({
|
||||
success: function(response, options) {
|
||||
success: function(response, options) {
|
||||
var values = response.result.data;
|
||||
values.rename = values.name;
|
||||
ipanel.setValues(values);
|
||||
|
Loading…
Reference in New Issue
Block a user