fix #1141 (when pressing ctrl+f, the current find value should get selected)

This commit is contained in:
rolux 2013-07-09 17:59:13 +00:00
parent edb5ab3efc
commit 6f1ef4cffd

View file

@ -454,7 +454,9 @@ pandora.ui.mainMenu = function() {
key_control_f: function() {
if (!pandora.hasDialogOrScreen()) {
if (pandora.user.ui._findState.key != 'advanced') {
pandora.$ui.findInput.focusInput(true);
setTimeout(function() {
pandora.$ui.findInput.focusInput(true);
}, 25);
} else {
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
}