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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc (-2 / +1 lines)
Lines 870-876 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
870
        if( Object.keys(Preferences.user.macros).length ){
870
        if( Object.keys(Preferences.user.macros).length ){
871
            $convert = $( '<button class="btn btn-default" id="convert-macros" title="'+_("Convert browser storage macros")+'><i class="fa fa-adjust" aria-hidden="true"></i> Convert old macros</button>' );
871
            $convert = $( '<button class="btn btn-default" id="convert-macros" title="'+_("Convert browser storage macros")+'><i class="fa fa-adjust" aria-hidden="true"></i> Convert old macros</button>' );
872
            $convert.click( function(){
872
            $convert.click( function(){
873
                if( !confirm( _("This will retrieve macros stored in the brower, save them in the database, and delete them from the browser. Proceed?") ) ){
873
                if( !confirm( _("This will retrieve macros stored in the browser, save them in the database, and delete them from the browser. Proceed?") ) ){
874
                    return;
874
                    return;
875
                }
875
                }
876
                convertOldMacros();
876
                convertOldMacros();
877
- 

Return to bug 34942