diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/numa.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/numa.js index 27f04ad09e..3d494e6573 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/numa.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/numa.js @@ -82,6 +82,10 @@ define(function(require) { return TemplateHTML(); } + function parseToMB(bytes=0){ + return bytes / 1024; + } + function successCallback(request, opts, infohost){ //console.log("CACHE ", OpenNebulaAction.get_all_cache()); var selector = $(idsElements.hugepages); @@ -112,8 +116,14 @@ define(function(require) { }); selector.append($("