put all in config, remove dead code

This commit is contained in:
j 2011-05-30 15:46:57 +02:00
commit 0e5e0a8312
2 changed files with 8 additions and 68 deletions

View file

@ -27,16 +27,14 @@ pandora.ui.findElement = function() {
] : [], [
app.$ui.findSelect = new Ox.Select({
id: 'select',
items: $.merge($.merge([{
id: 'all',
title: 'Find: All'
}], $.map(app.ui.findKeys, function(key, i) {
items: $.merge($.map(app.ui.findKeys,
function(key, i) {
return {
id: key.id,
checked: key.id == findKey,
title: 'Find: ' + key.title
};
})), [{}, {
}), [{}, {
id: 'advanced',
title: 'Find: Advanced'
}]),