[pmg-devel] [PATCH manager 1/1] overwrite the built-in 'run_editor' function
Dominik Csapak
d.csapak at proxmox.com
Fri Apr 6 13:22:45 CEST 2018
this is needed for the 'enter' handler
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/lxc/DNS.js | 1 +
www/manager6/qemu/HardwareView.js | 1 +
2 files changed, 2 insertions(+)
diff --git a/www/manager6/lxc/DNS.js b/www/manager6/lxc/DNS.js
index 3287ae91..4eab6b11 100644
--- a/www/manager6/lxc/DNS.js
+++ b/www/manager6/lxc/DNS.js
@@ -229,6 +229,7 @@ Ext.define('PVE.lxc.DNS', {
url: "/api2/json/nodes/" + nodename + "/lxc/" + vmid + "/config",
selModel: sm,
cwidth1: 150,
+ run_editor: run_editor,
tbar: [ edit_btn ],
rows: rows,
listeners: {
diff --git a/www/manager6/qemu/HardwareView.js b/www/manager6/qemu/HardwareView.js
index dcdea14c..8017f84a 100644
--- a/www/manager6/qemu/HardwareView.js
+++ b/www/manager6/qemu/HardwareView.js
@@ -496,6 +496,7 @@ Ext.define('PVE.qemu.HardwareView', {
url: '/api2/json/' + 'nodes/' + nodename + '/qemu/' + vmid + '/pending',
interval: 5000,
selModel: sm,
+ run_editor: run_editor,
tbar: [
{
text: gettext('Add'),
--
2.11.0
More information about the pmg-devel
mailing list