1function commentReplyOpen(idCommentReplyFormBox) 2{ 3 var _static = commentReplyOpen; 4 5 var elFormBox = $("#" + idCommentReplyFormBox); 6 if (! elFormBox) 7 { 8 alert('div[' + idCommentReplyFormBox + '] not found'); 9 return; 10 } 11 if (! $(elFormBox).is(":visible")) { 12 if (_static.commentReplyOpened) { 13 _static.commentReplyOpened.hide(); 14 } 15 _static.commentReplyOpened = elFormBox; 16 elFormBox.show(); 17 } 18 // scroll down to formBox 19 var win = $(window); 20 var winBottom = win.scrollTop() + win.height(); 21 var elBottom = elFormBox.offset().top + elFormBox.height() + 10; 22 if (elBottom > winBottom) 23 { 24 $('html, body').animate({ scrollTop: win.scrollTop() + (elBottom - winBottom) }, 500); 25 } 26 var form = elFormBox.find('form')[0]; 27 var input = form.elements['GetCourseComment[comment_text]']; 28 input.focus(); 29}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.