Bug 24108: (follow-up) Fix typo with .xml extension
[srvgit] / koha-tmpl / intranet-tmpl / prog / en / includes / cateditor-ui.inc
index 4017248..a869ab0 100644 (file)
@@ -308,9 +308,9 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
         'marcxml': {
             saveLabel: _("Save as MARCXML (.xml) file"),
             save: function( id, record, done ) {
-                var recname = 'record.mrc';
+                var recname = 'record.xml';
                 if(state.recordID) {
-                    recname = state.recordID+'.mrc';
+                    recname = state.recordID+'.xml';
                 }
 
                 [% IF (Koha.Preference('SaveRecordbyControlNumber') == '1') %]