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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc (-1 / +7 lines)
Lines 1077-1082 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
1077
            return false;
1077
            return false;
1078
        } );
1078
        } );
1079
1079
1080
        window.onbeforeunload = function() {
1081
            if(editor.modified )
1082
                { return 1; }
1083
            else
1084
                { return undef; }
1085
        };
1086
1080
        // Start editor
1087
        // Start editor
1081
        Preferences.Load( [% USER_INFO.borrowernumber || 0 %] );
1088
        Preferences.Load( [% USER_INFO.borrowernumber || 0 %] );
1082
        displayPreferences(editor);
1089
        displayPreferences(editor);
1083
- 

Return to bug 19267