pass in true to the formatter so fsize doesn't ignore zero values
This commit is contained in:
parent
81d28b686f
commit
4929ba3c44
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue