B #1975: Disk SIZE is not a valid integer (#1980)

This commit is contained in:
Abel Coronado authored and Tino Vázquez committed 2018-04-18 12:16:52 +02:00
1 parent 860f8c73f3
commit 2432337eda
1 file changed
+1 -1
@@ -116,7 +116,7 @@ define(function(require) {
$('#' + DIALOG_ID + 'Form', context).submit(function() {
var new_size = Humanize.sizeToMB($( ".uinput-slider-val",context).val());
var new_size = parseInt(Humanize.sizeToMB($( ".uinput-slider-val", context).val()));
new_size = new_size.toString();
var obj = {
"vm_id": that.element.ID,