mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Bug #4122: Fix disk_cost to be MB/hour instead of GB/hour
(cherry picked from commit 94cb6a5a4b886ded73586779345623725ddabcb4)
This commit is contained in:
parent
cd4b4b2a96
commit
0a435666ae
@ -88,7 +88,7 @@ define(function(require){
|
||||
var cost = 0;
|
||||
$('.range-slider', disksContext).each(function(){
|
||||
if ($(this).attr('data-slider') > 0) {
|
||||
cost += $(this).attr('data-slider') * disk_cost
|
||||
cost += $(this).attr('data-slider') * 1024 * disk_cost;
|
||||
}
|
||||
})
|
||||
$(".cost_value", disksContext).html(cost.toFixed(2));
|
||||
|
Loading…
x
Reference in New Issue
Block a user