View | Details | Raw Unified | Return to bug 35062
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +4 lines)
Lines 733-739 $(document).ready(function(){ Link Here
733
    function Check(){
733
    function Check(){
734
        var StrAlert = AreFieldsNotOk();
734
        var StrAlert = AreFieldsNotOk();
735
        var StrWarning = AreFieldsNotOk( false );
735
        var StrWarning = AreFieldsNotOk( false );
736
        if( !StrAlert && StrWarning ){
736
        if ( $('.plugin-blocks-submit').length > 0 ) {
737
            // This class can be set by framework plugins to block submittal temporarily (e.g. during ajax call)
738
            return false;
739
        } else if( !StrAlert && StrWarning ) {
737
            // Check important fields
740
            // Check important fields
738
            $("#check_errors").html( StrWarning );
741
            $("#check_errors").html( StrWarning );
739
            $('html, body').animate({ scrollTop: 0 }, 'fast');
742
            $('html, body').animate({ scrollTop: 0 }, 'fast');
740
- 

Return to bug 35062