put all in config, remove dead code
This commit is contained in:
parent
2b017eebf4
commit
0e5e0a8312
2 changed files with 8 additions and 68 deletions
|
|
@ -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'
|
||||
}]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue