window: edit: allow to set submit text for data binding

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-01-30 15:54:08 +01:00
parent 149851638d
commit 4e78d7190d

View File

@ -100,6 +100,10 @@ Ext.define('Proxmox.window.Edit', {
});
},
setSubmitText: function(text) {
this.lookup('submitbutton').setText(text);
},
submit: function() {
var me = this;