mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
Fix marketplace humanize_size call
This commit is contained in:
parent
9fe9ef9328
commit
9f8f6f04fa
@ -99,7 +99,7 @@ var market_actions = {
|
||||
'<i class="fa fa-fw fa-download"/> '+
|
||||
index+' - '+tr("Image Name")+
|
||||
'<span class="right">'+
|
||||
humanize_size(value['size'])+
|
||||
humanize_size(value['size'], true)+
|
||||
'</span>'+
|
||||
'</label>'+
|
||||
'<input type="text" class="name" value="' + (value['name']||appliance['name']) +'" />'+
|
||||
@ -417,7 +417,7 @@ function updateMarketInfo(request,app){
|
||||
$.each(app['files'], function(index, value){
|
||||
files_table += '<tr>\
|
||||
<td class="value_td">'+value['name']+'</td>\
|
||||
<td class="value_td">'+humanize_size(value['size'])+'</td>\
|
||||
<td class="value_td">'+humanize_size(value['size'], true)+'</td>\
|
||||
</tr>'
|
||||
});
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user