From 81c77928333008b46e25132933b3930a8843beb6 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 14 Jan 2013 17:09:26 +0000 Subject: [PATCH] docs --- lam/templates/lib/500_lam.js | 7 +++++++ 1 file changed, 7 insertions(+) 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) {