v1.1
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user