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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc (-2 / +1 lines)
Lines 762-768 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
762
        if ( !name || macroEditor.savedGeneration == macroEditor.changeGeneration() ) return;
762
        if ( !name || macroEditor.savedGeneration == macroEditor.changeGeneration() ) return;
763
763
764
        macroEditor.savedGeneration = macroEditor.changeGeneration();
764
        macroEditor.savedGeneration = macroEditor.changeGeneration();
765
//        storeMacro( name, { contents: macroEditor.getValue(), modified: (new Date()).valueOf(), history: macroEditor.getHistory(), format: $('#macro-format').val() } );
765
        storeMacro( name, { contents: macroEditor.getValue(), modified: (new Date()).valueOf(), history: macroEditor.getHistory() } );
766
        $('#macro-save-message').text(_("Saved"));
766
        $('#macro-save-message').text(_("Saved"));
767
        showSavedMacros();
767
        showSavedMacros();
768
    }
768
    }
769
- 

Return to bug 24789