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 881-886 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
881
                    humanMsg.displayAlert( _("Incorrect syntax, cannot save"), { className: 'humanError' } );
881
                    humanMsg.displayAlert( _("Incorrect syntax, cannot save"), { className: 'humanError' } );
882
                } else if ( result.error == 'invalid' ) {
882
                } else if ( result.error == 'invalid' ) {
883
                    humanMsg.displayAlert( _("Record structure invalid, cannot save"), { className: 'humanError' } );
883
                    humanMsg.displayAlert( _("Record structure invalid, cannot save"), { className: 'humanError' } );
884
                } else if ( result.error ) {
885
                    humanMsg.displayAlert( _("Something went wrong, cannot save"), { className: 'humanError' } );
884
                } else if ( !result.error ) {
886
                } else if ( !result.error ) {
885
                    humanMsg.displayAlert( _("Record saved "), { className: 'humanSuccess' } );
887
                    humanMsg.displayAlert( _("Record saved "), { className: 'humanSuccess' } );
886
                }
888
                }
887
- 

Return to bug 24323