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)');