From 6b149c445da65035547460a259871805ba284b50 Mon Sep 17 00:00:00 2001 From: lutranf Date: Tue, 28 Oct 2014 15:09:50 +0100 Subject: [PATCH] note: fix submit button --- masks/note.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masks/note.html b/masks/note.html index 2328c78..48ab177 100755 --- a/masks/note.html +++ b/masks/note.html @@ -14,7 +14,7 @@ databap.pageInit = function() //Add note selection form $('#note_id').addDefaultValue('N° note'); $('#note_form') - .addButton('ok', 'Ok', $('#note_form').submit, 'submit', 'heavy') + .addButton('ok', 'Ok', function($This){$This.submit();}, 'submit', 'heavy') .submit(function(){databap.goToInternalLink('note', $('#note_id').val())}); $Frame.css('height', 'calc(100% - '+($('#note_form').outerHeight()+14)+'px)');