[pve-devel] [RFC PATCH manager] Make explicit the meaning of an empty storage field

Emmanuel Kasper e.kasper at proxmox.com
Wed Feb 8 15:05:09 CET 2017


By default when no target storage is selected in the clone panel, the clone
will use the same storage*s* as the source.

This was not obvious to guess that from the panel.
---
 www/manager6/qemu/Clone.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/qemu/Clone.js b/www/manager6/qemu/Clone.js
index ce6e4f3..f8b71b5 100644
--- a/www/manager6/qemu/Clone.js
+++ b/www/manager6/qemu/Clone.js
@@ -242,6 +242,7 @@ Ext.define('PVE.window.Clone', {
 	    storageContent: 'images',
 	    autoSelect: false, // will use for each disk the same storage as source
 	    allowBlank: true,
+	    emptyText: gettext('Same as source'),
 	    disabled: me.isTemplate ? true : false, // because default mode is clone for templates
 		    hidden: false,
 		    listeners: {
-- 
2.1.4





More information about the pve-devel mailing list