ext6migrate: change applyIf to apply

in the option view, change the applyIf to apply to
correctly show the 'Edit' button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-03-01 13:15:15 +01:00 committed by Dietmar Maurer
parent 05b252dc5c
commit bc5d0cf8db
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ Ext.define('PVE.dc.OptionView', {
handler: run_editor handler: run_editor
}); });
Ext.applyIf(me, { Ext.apply(me, {
url: "/api2/json/cluster/options", url: "/api2/json/cluster/options",
cwidth1: 130, cwidth1: 130,
interval: 1000, interval: 1000,

View File

@ -216,7 +216,7 @@ Ext.define('PVE.FirewallOptions', {
edit_btn.setDisabled(!rowdef.editor); edit_btn.setDisabled(!rowdef.editor);
}; };
Ext.applyIf(me, { Ext.apply(me, {
url: "/api2/json" + me.base_url, url: "/api2/json" + me.base_url,
cwidth1: 150, cwidth1: 150,
tbar: [ edit_btn ], tbar: [ edit_btn ],