rice-framework/krad-web/src/main/webapp/krad/scripts/krad.focusJump.js
//Jump(scroll) to the top of the current screen

Jump(scroll) to the top of the current screen
Jump ( scroll ) to the top of the current screen
function jumpToTop() {
    if (!usePortalForContext() || jQuery("#fancybox-frame", parent.document).length || !top.jQuery.scrollTo) {
        jQuery.scrollTo(0);
    }
    else {
        top.jQuery.scrollTo(0);
    }
}
function jumpToTop ( ) { if ( ! usePortalForContext ( ) || jQuery ( "#fancybox-frame" , parent . document ) . length || ! top . jQuery . scrollTo ) { jQuery . scrollTo ( 0 ) ; } else { top . jQuery . scrollTo ( 0 ) ; } }
Jump(scroll) to the top of the current screen
Jump ( scroll ) to the top of the current screen