This commit is contained in:
2014-12-13 03:18:04 +01:00
parent ae20f82a43
commit 0e4b1a3e6d
24 changed files with 499 additions and 497 deletions

View File

@@ -17,8 +17,10 @@ databap.pageInit = function()
.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)');
$Frame
.css('height', 'calc(100% - '+($('#note_form').outerHeight()+10)+'px)')
.hide();
//Start fetching note
var iNote = databap.vars.id;
if(isNumeric(iNote) && iNote > 0 && iNote!=databap.tmp('note'))
@@ -26,6 +28,7 @@ databap.pageInit = function()
$('#note_id').val(iNote).focus();
self.addBufferIcon();
$Frame
.show('slow')
.attr('src', 'index.php?a=note&id='+iNote)
.load(databap.resetIcon);