Keep the changed value until save option has been chosen.
Signed-off-by: Wen Wang <wenwang(a)linux.vnet.ibm.com>
---
ui/js/src/kimchi.template_edit_main.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/src/kimchi.template_edit_main.js
b/ui/js/src/kimchi.template_edit_main.js
index 1149541..f809223 100644
--- a/ui/js/src/kimchi.template_edit_main.js
+++ b/ui/js/src/kimchi.template_edit_main.js
@@ -102,7 +102,7 @@ kimchi.template_edit_main = function() {
if (tempType === 'iscsi' || tempType === 'scsi') {
$('.template-storage-disk',
selectedItem).attr('readonly', true).val(scsiCap);
} else {
- $('.template-storage-disk',
selectedItem).attr('readonly', false).val('10');
+ $('.template-storage-disk',
selectedItem).attr('readonly', false);
}
$('.template-storage-name').val(tempStorageNameFull);
});
--
2.1.0