[pve-devel] [PATCH manager 1/3] ext6migrate: change applyIf to apply
Dominik Csapak
d.csapak at proxmox.com
Tue Mar 1 13:15:15 CET 2016
in the option view, change the applyIf to apply to
correctly show the 'Edit' button
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/dc/OptionView.js | 2 +-
www/manager6/grid/FirewallOptions.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/manager6/dc/OptionView.js b/www/manager6/dc/OptionView.js
index bc57a6d..386ff15 100644
--- a/www/manager6/dc/OptionView.js
+++ b/www/manager6/dc/OptionView.js
@@ -178,7 +178,7 @@ Ext.define('PVE.dc.OptionView', {
handler: run_editor
});
- Ext.applyIf(me, {
+ Ext.apply(me, {
url: "/api2/json/cluster/options",
cwidth1: 130,
interval: 1000,
diff --git a/www/manager6/grid/FirewallOptions.js b/www/manager6/grid/FirewallOptions.js
index 596b222..23b8e6f 100644
--- a/www/manager6/grid/FirewallOptions.js
+++ b/www/manager6/grid/FirewallOptions.js
@@ -216,7 +216,7 @@ Ext.define('PVE.FirewallOptions', {
edit_btn.setDisabled(!rowdef.editor);
};
- Ext.applyIf(me, {
+ Ext.apply(me, {
url: "/api2/json" + me.base_url,
cwidth1: 150,
tbar: [ edit_btn ],
--
2.1.4
More information about the pve-devel
mailing list