This commit is contained in:
loviuz 2023-02-27 12:09:59 +01:00
parent 11f7cce230
commit ca0662a5ce
6 changed files with 6 additions and 6 deletions

View File

@ -545,7 +545,7 @@ function salvaArticolo() {
}); });
} }
$("form").bind("keypress", function(e) { $("#link_form").bind("keypress", function(e) {
if (e.keyCode == 13) { if (e.keyCode == 13) {
e.preventDefault(); e.preventDefault();
salvaArticolo(); salvaArticolo();

View File

@ -581,7 +581,7 @@ function salvaArticolo() {
}); });
} }
$("form").bind("keypress", function(e) { $("#link_form").bind("keypress", function(e) {
if (e.keyCode == 13) { if (e.keyCode == 13) {
e.preventDefault(); e.preventDefault();
salvaArticolo(); salvaArticolo();

View File

@ -1188,7 +1188,7 @@ function salvaArticolo() {
}); });
} }
$("form").bind("keypress", function(e) { $("#link_form").bind("keypress", function(e) {
if (e.keyCode == 13) { if (e.keyCode == 13) {
e.preventDefault(); e.preventDefault();
salvaArticolo(); salvaArticolo();

View File

@ -833,7 +833,7 @@ $(document).ready(function() {
}); });
} }
$("form").bind("keypress", function(e) { $("#link_form").bind("keypress", function(e) {
if (e.keyCode == 13) { if (e.keyCode == 13) {
e.preventDefault(); e.preventDefault();
salvaArticolo(); salvaArticolo();

View File

@ -439,7 +439,7 @@ function salvaArticolo() {
}); });
} }
$("form").bind("keypress", function(e) { $("#link_form").bind("keypress", function(e) {
if (e.keyCode == 13) { if (e.keyCode == 13) {
e.preventDefault(); e.preventDefault();
salvaArticolo(); salvaArticolo();

View File

@ -461,7 +461,7 @@ function salvaArticolo() {
}); });
} }
$("form").bind("keypress", function(e) { $("#link_form").bind("keypress", function(e) {
if (e.keyCode == 13) { if (e.keyCode == 13) {
e.preventDefault(); e.preventDefault();
salvaArticolo(); salvaArticolo();