Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #44 from hgq/07_04_pt15121665_head

[Fixes #15121665] prevent double-submit of checkin form when pressing Ent
  • Loading branch information...
commit 621c211a0ab3deccfa248c1913439dc9bbd56edd 2 parents ca388cd + 022ba88
@ctfliblime ctfliblime authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl
View
3  koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl
@@ -659,6 +659,8 @@ function ContinueReturns() {
// if the key pressed is the enter key
if (e.which == 13) {
setOverrideDate();
+ document.myf.submit();
+ return;
}
});
</script>
@@ -753,7 +755,6 @@ function ContinueReturns() {
if (odate != '') {
document.cookie = 'checkin_override_date='+odate+'; path=/';
}
- return document.myf.submit();
}
</script>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.