minor changes for filter dialog

This commit is contained in:
rlx 2011-06-01 22:47:15 +00:00
commit da65166776
4 changed files with 10 additions and 5 deletions

View file

@ -1,8 +1,8 @@
// vim: et:ts=4:sw=4:sts=4:ft=js
pandora.ui.filter = function() {
var that = new Ox.Filter({
findKeys: $.map(app.site.itemKeys, function(key) {
return {
findKeys: Ox.map(app.site.itemKeys, function(key) {
return key.id == 'all' ? null : {
autocomplete: key.autocomplete,
autocompleteSortKey: key.autocompleteSortKey,
format: key.format,

View file

@ -34,7 +34,7 @@ pandora.ui.filterDialog = function() {
height: 264,
keys: {enter: 'save', escape: 'cancel'},
title: 'Advanced Find',
width: 616 + Ox.UI.SCROLLBAR_SIZE
width: 648 + Ox.UI.SCROLLBAR_SIZE
});
return that;
};