pass in true to the formatter so fsize doesn't ignore zero values

This commit is contained in:
Damien Churchill 2010-03-14 08:55:26 +00:00
parent 81d28b686f
commit 4929ba3c44
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ Ext.deluge.Statusbar = Ext.extend(Ext.ux.StatusBar, {
var limit = (config.limit.formatter) ? config.limit.formatter(config.limit.value) : config.limit.value;
var str = String.format(config.format, value, limit);
} else {
var str = (config.value.formatter) ? config.value.formatter(config.value.value) : config.value.value;
var str = (config.value.formatter) ? config.value.formatter(config.value.value, true) : config.value.value;
}
item.setText(str);
}.createDelegate(this);