resources/assets/js/check_navbar.js
//Focus on the first field related to the check
Focus on the first field related to the check
Focus on the first field related to the check
function changeReportFieldsFocus(iframe,field){
        var $dataAnchor = iframe.contents().find('[data-anchor='+field+']')[0];
        if($dataAnchor){
            iframe.contents().scrollTop($(iframe.contents().find('[data-anchor='+field+']')[0]).offset().top-150);
        }
        window.scroll(0,0);
    }
function changeReportFieldsFocus ( iframe , field ) { var $dataAnchor = iframe . contents ( ) . find ( '[data-anchor=' + field + ']' ) [ 0 ] ; if ( $dataAnchor ) { iframe . contents ( ) . scrollTop ( $ ( iframe . contents ( ) . find ( '[data-anchor=' + field + ']' ) [ 0 ] ) . offset ( ) . top - 150 ) ; } window . scroll ( 0 , 0 ) ; }
Focus on the first field related to the check
Focus on the first field related to the check