Always set the focus to the search bar in the drive

pull/1/head
yflory 8 years ago
parent 67f4096396
commit af68e41fb6

@ -1536,11 +1536,9 @@ define([
module.resetTree();
if (isSearch) {
$tree.find('#searchInput').focus();
$tree.find('#searchInput')[0].selectionStart = getSearchCursor();
$tree.find('#searchInput')[0].selectionEnd = getSearchCursor();
}
if (!isWorkgroup()) {
setLastOpenedFolder(path);

Loading…
Cancel
Save