forked from 0x2620/pandora
fix various menu and menu integration bugs
This commit is contained in:
parent
21fc25e7fd
commit
4ad4962d33
4 changed files with 58 additions and 32 deletions
|
|
@ -18,8 +18,6 @@ pandora.ui.findElement = function() {
|
|||
})
|
||||
.bindEvent({
|
||||
change: function(data) {
|
||||
Ox.print(data);
|
||||
//pandora.$ui.mainMenu.checkItem('findMenu_find_' + ...);
|
||||
pandora.$ui.findInput.options({
|
||||
autocomplete: autocompleteFunction()
|
||||
}).focusInput(true);
|
||||
|
|
@ -50,8 +48,10 @@ pandora.ui.findElement = function() {
|
|||
change: function(data) {
|
||||
if (data.value == 'advanced') {
|
||||
that.update();
|
||||
// fixme: uncheck menu item!
|
||||
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
|
||||
} else {
|
||||
pandora.$ui.mainMenu.checkItem('findMenu_find_' + data.value);
|
||||
pandora.$ui.findInput.options({
|
||||
autocomplete: autocompleteFunction(),
|
||||
placeholder: ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue