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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc (-1 / +1 lines)
Lines 1207-1213 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
1207
        $( '#switch-editor' ).click( function() {
1207
        $( '#switch-editor' ).click( function() {
1208
            if ( !confirm( _("Any changes will not be saved. Continue?") ) ) return;
1208
            if ( !confirm( _("Any changes will not be saved. Continue?") ) ) return;
1209
1209
1210
            $.cookie( 'catalogue_editor_[% logged_in_user.borrowernumber | html %]', 'basic', { expires: 365, path: '/' } );
1210
            Cookies.set( "catalogue_editor_[% logged_in_user.borrowernumber | html %]", "basic", { expires: 365, path: '/' } );
1211
1211
1212
            if ( state.backend == 'catalog' ) {
1212
            if ( state.backend == 'catalog' ) {
1213
                window.location = '/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=' + state.recordID;
1213
                window.location = '/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=' + state.recordID;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-2 / +1 lines)
Lines 247-253 Link Here
247
            });
247
            });
248
248
249
            $("#useadvanced").click(function(){
249
            $("#useadvanced").click(function(){
250
                $.cookie( 'catalogue_editor_[% logged_in_user.borrowernumber | html %]', 'advanced', { expires: 365, path: '/' } );
250
                Cookies.set( "catalogue_editor_[% logged_in_user.borrowernumber | html %]", "advanced", { expires: 365, path: '/' } );
251
                return true;
251
                return true;
252
            });
252
            });
253
253
254
- 

Return to bug 24623