1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #5133 Solved bug in storage size when update vm template (#287)

This commit is contained in:
Abel Coronado 2017-05-05 11:50:20 +02:00 committed by Tino Vázquez
parent 1b28fbe354
commit 9cc4c3dede

View File

@ -166,6 +166,10 @@ define(function(require) {
function _fill(context, templateJSON) {
var selectedContext;
if(templateJSON.SIZE){
templateJSON.SIZE = templateJSON.SIZE / 1024;
}
if (templateJSON.IMAGE_ID || templateJSON.IMAGE) {
$('input#' + this.diskTabId + 'radioImage', context).click();