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

bug #3420: Truncate vm cost

This commit is contained in:
Daniel Molina 2015-01-19 17:13:10 +01:00
parent 42b531d227
commit 00d1b0f541

View File

@ -2319,7 +2319,7 @@ function generate_provision_instance_type_accordion(context, capacity) {
$(".cost_value").data("MEMORY_COST", capacity.MEMORY_COST);
}
$(".cost_value").html(cost);
$(".cost_value").html(cost.toFixed(2));
} else {
$(".provision_create_template_cost_div").hide();
}
@ -2428,7 +2428,7 @@ function generate_provision_instance_type_accordion(context, capacity) {
cost += $(this).attr("memory") * $(".cost_value").data("MEMORY_COST")
}
$(".cost_value").html(cost);
$(".cost_value").html(cost.toFixed(2));
}
$('.accordion a', context).first().trigger("click");