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

(cherry picked from commit 2432337eda)
This commit is contained in:
Abel Coronado authored and Tino Vazquez committed 2018-04-18 12:20:40 +02:00
1 parent 28f84b4513
commit 1f69cd1596
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,