[pve-devel] [PATCH manager v2 2/5] ui: FileSelector: add setNodename to allow data binding
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Feb 22 14:17:38 CET 2018
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
www/manager6/form/FileSelector.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/www/manager6/form/FileSelector.js b/www/manager6/form/FileSelector.js
index 9afbf821..3dc50720 100644
--- a/www/manager6/form/FileSelector.js
+++ b/www/manager6/form/FileSelector.js
@@ -47,6 +47,10 @@ Ext.define('PVE.form.FileSelector', {
me.store.load();
},
+ setNodename: function(nodename) {
+ this.setStorage(undefined, nodename);
+ },
+
store: {
model: 'pve-storage-content'
},
--
2.14.2
More information about the pve-devel
mailing list