Always set the focus to the search bar in the drive
This commit is contained in:
@@ -1536,11 +1536,9 @@ define([
|
|||||||
|
|
||||||
module.resetTree();
|
module.resetTree();
|
||||||
|
|
||||||
if (isSearch) {
|
$tree.find('#searchInput').focus();
|
||||||
$tree.find('#searchInput').focus();
|
$tree.find('#searchInput')[0].selectionStart = getSearchCursor();
|
||||||
$tree.find('#searchInput')[0].selectionStart = getSearchCursor();
|
$tree.find('#searchInput')[0].selectionEnd = getSearchCursor();
|
||||||
$tree.find('#searchInput')[0].selectionEnd = getSearchCursor();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!isWorkgroup()) {
|
if (!isWorkgroup()) {
|
||||||
setLastOpenedFolder(path);
|
setLastOpenedFolder(path);
|
||||||
|
|||||||
Reference in New Issue
Block a user