fix #1141 (when pressing ctrl+f, the current find value should get selected)
This commit is contained in:
parent
edb5ab3efc
commit
6f1ef4cffd
1 changed files with 3 additions and 1 deletions
|
@ -454,7 +454,9 @@ pandora.ui.mainMenu = function() {
|
||||||
key_control_f: function() {
|
key_control_f: function() {
|
||||||
if (!pandora.hasDialogOrScreen()) {
|
if (!pandora.hasDialogOrScreen()) {
|
||||||
if (pandora.user.ui._findState.key != 'advanced') {
|
if (pandora.user.ui._findState.key != 'advanced') {
|
||||||
|
setTimeout(function() {
|
||||||
pandora.$ui.findInput.focusInput(true);
|
pandora.$ui.findInput.focusInput(true);
|
||||||
|
}, 25);
|
||||||
} else {
|
} else {
|
||||||
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
|
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue