[pve-devel] applied: [PATCH proxmox-widget-toolkit] window: edit: allow to set submit text for data binding

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jan 30 16:09:14 CET 2020


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 window/Edit.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/window/Edit.js b/window/Edit.js
index aeb8019..ac122c5 100644
--- a/window/Edit.js
+++ b/window/Edit.js
@@ -100,6 +100,10 @@ Ext.define('Proxmox.window.Edit', {
 	});
     },
 
+    setSubmitText: function(text) {
+	this.lookup('submitbutton').setText(text);
+    },
+
     submit: function() {
 	var me = this;
 
-- 
2.20.1





More information about the pve-devel mailing list