diff --git a/lam/templates/lib/500_lam.js b/lam/templates/lib/500_lam.js index b3300708..dcaf0544 100644 --- a/lam/templates/lib/500_lam.js +++ b/lam/templates/lib/500_lam.js @@ -83,6 +83,13 @@ function listShowSettingsDialog(title, okText, cancelText) { }); } +/** + * Submits the form by clicking on the given button if enter was pressed. + * + * @param id button ID + * @param e event + * @returns Boolean result + */ function SubmitForm(id, e) { if (e.keyCode == 13) { if (e.preventDefault) {