focus folder selection after loading page

This commit is contained in:
Uwe Steinmann 2022-11-29 17:35:32 +01:00
parent 55df94a993
commit 92ba1a9e76
2 changed files with 11 additions and 0 deletions

View File

@ -34,6 +34,12 @@ class SeedDMS_View_MoveDocument extends SeedDMS_Theme_Style {
function js() { /* {{{ */
header('Content-Type: application/javascript; charset=UTF-8');
?>
$(document).ready( function() {
$('input[id^=choosefoldersearch]').focus();
});
<?php
// $this->printFolderChooserJs("form1");
} /* }}} */

View File

@ -34,6 +34,11 @@ class SeedDMS_View_MoveFolder extends SeedDMS_Theme_Style {
function js() { /* {{{ */
header('Content-Type: application/javascript; charset=UTF-8');
?>
$(document).ready( function() {
$('input[id^=choosefoldersearch]').focus();
});
<?php
// $this->printFolderChooserJs("form1");
} /* }}} */