mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-05 06:25:19 +00:00
auto-focus; submit on enter;
This commit is contained in:
parent
eed520daac
commit
5a3e2a2575
1 changed files with 5 additions and 0 deletions
|
|
@ -1415,6 +1415,10 @@ function init_bookmarks() {
|
|||
$dialog.find('.openwebrx-button[data-action=submit]').click(function(){
|
||||
storeBookmark();
|
||||
});
|
||||
$dialog.find('form').on('submit', function(e){
|
||||
e.preventDefault();
|
||||
storeBookmark();
|
||||
});
|
||||
}
|
||||
|
||||
function showBookmarkEditDialog(bookmark) {
|
||||
|
|
@ -1432,6 +1436,7 @@ function showBookmarkEditDialog(bookmark) {
|
|||
});
|
||||
$dialog.data('id', bookmark.id);
|
||||
$dialog.show();
|
||||
$dialog.find('#name').focus();
|
||||
}
|
||||
|
||||
function storeBookmark() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue