mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
focus search field after loading page
This commit is contained in:
parent
6233ac59ff
commit
41721467ac
|
@ -137,6 +137,9 @@ class SeedDMS_View_ViewFolder extends SeedDMS_Theme_Style {
|
|||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
parent::jsTranslations(array('cancel', 'splash_move_document', 'confirm_move_document', 'move_document', 'confirm_transfer_link_document', 'transfer_content', 'link_document', 'splash_move_folder', 'confirm_move_folder', 'move_folder'));
|
||||
?>
|
||||
$(document).ready(function() {
|
||||
$('#searchfield').focus();
|
||||
});
|
||||
seeddms_folder = <?= $folder->getID() ?>;
|
||||
function folderSelectedmaintree(id, name) {
|
||||
<?php if(!$onepage) { ?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user