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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc (-1 / +2 lines)
Lines 879-884 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
879
                    humanMsg.displayAlert( _("Incorrect syntax, cannot save"), { className: 'humanError' } );
879
                    humanMsg.displayAlert( _("Incorrect syntax, cannot save"), { className: 'humanError' } );
880
                } else if ( result.error == 'invalid' ) {
880
                } else if ( result.error == 'invalid' ) {
881
                    humanMsg.displayAlert( _("Record structure invalid, cannot save"), { className: 'humanError' } );
881
                    humanMsg.displayAlert( _("Record structure invalid, cannot save"), { className: 'humanError' } );
882
                } else if ( result.error ) {
883
                    humanMsg.displayAlert( _("Something went wrong, cannot save"), { className: 'humanError' } );
882
                } else if ( !result.error ) {
884
                } else if ( !result.error ) {
883
                    humanMsg.displayAlert( _("Record saved "), { className: 'humanSuccess' } );
885
                    humanMsg.displayAlert( _("Record saved "), { className: 'humanSuccess' } );
884
                }
886
                }
885
- 

Return to bug 24323