1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

Float cost in disk (update template) (#512)

This commit is contained in:
Abel Coronado 2017-10-02 12:20:24 +02:00 committed by Jaime Melis
parent 6112908ee5
commit 1cc73b25d5

View File

@ -140,7 +140,7 @@ define(function(require) {
});
context.on("change", "#DISK_COST", function() {
var disk = parseInt(document.getElementById('DISK_COST').value);
var disk = parseFloat(document.getElementById('DISK_COST').value);
that.templateDISKS = JSON.parse(localStorage.getItem("disksJSON"));
if (that.templateDISKS){
var totalGB = 0;