display filter count

This commit is contained in:
rolux 2012-12-16 15:58:18 +00:00
parent e1dbb7089f
commit 533e077cd5

View file

@ -81,6 +81,15 @@ pandora.ui.filter = function(id) {
unique: 'name'
})
.bindEvent({
init: function(data) {
that.setColumnTitle(
'name',
Ox.getObjectById(pandora.site.filters, id).title
+ '<div class="OxColumnStatus OxLight">'
+ Ox.formatNumber(data.items)
+ '</div>'
);
},
paste: function(data) {
pandora.$ui.list.triggerEvent('paste', data);
},