note: fix submit button
This commit is contained in:
@@ -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)');
|
||||
|
||||
Reference in New Issue
Block a user