[pve-devel] [PATCH] always list copy and clone for cloning

Stefan Priebe s.priebe at profihost.ag
Thu Feb 6 14:04:48 CET 2014


Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
---
 www/manager/qemu/Clone.js |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/www/manager/qemu/Clone.js b/www/manager/qemu/Clone.js
index 3409c85..28d9a1f 100644
--- a/www/manager/qemu/Clone.js
+++ b/www/manager/qemu/Clone.js
@@ -137,10 +137,7 @@ Ext.define('PVE.window.Clone', {
 
 	col1.push(me.targetSel);
 
-	var modelist = [['copy', gettext('Full Clone')]];
-	if (me.isTemplate) {
-	    modelist.push(['clone', gettext('Linked Clone')]);
-	}
+	var modelist = [['copy', gettext('Full Clone')], ['clone', gettext('Linked Clone')]];
 
         me.kv1 = Ext.create('PVE.form.KVComboBox', {
             fieldLabel: gettext('Mode'),
-- 
1.7.10.4




More information about the pve-devel mailing list