-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add change of focus to close possible pop-up menus, trigger indirectl…
…y 'change' event and some other advantages. Don't process 'Enter' on "Add Group", "Add Rule", "Delete Group", "Delete Group" and "Query" buttons. Signed-off-by: Dr. Oleg Kiriljuk <oleg.kiriljuk@ok-soft-gmbh.com>
- Loading branch information
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To get a workable code with pressing Enter for the first time better split line $("#"+fid+"_search").focus().click(); on the following two:
$("#"+fid+"_search").focus();
setTimeout(function(){
$("#"+fid+"_search").click();
},0);