forked from 0x2620/pandora
fix bugs where ui find and the filter query would be the same object, keeping changes from triggering
This commit is contained in:
parent
b6de7b2e4d
commit
d539f6aebf
4 changed files with 7 additions and 14 deletions
|
|
@ -19,7 +19,7 @@ pandora.ui.findElement = function() {
|
|||
var key = data.selected[0].id;
|
||||
pandora.$ui.findInput.options({
|
||||
autocomplete: autocompleteFunction()
|
||||
}).focus();
|
||||
}).focusInput();
|
||||
}
|
||||
}),
|
||||
] : [], [
|
||||
|
|
@ -56,10 +56,11 @@ pandora.ui.findElement = function() {
|
|||
pandora.$ui.filterDialog = pandora.ui.filterDialog()
|
||||
)).open();
|
||||
} else {
|
||||
Ox.Log('FIND', pandora.$ui.findInput.value())
|
||||
pandora.$ui.findInput.options({
|
||||
autocomplete: autocompleteFunction(),
|
||||
placeholder: ''
|
||||
}).focus();
|
||||
}).focusInput();
|
||||
}
|
||||
}
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue