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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt (-1 lines)
Lines 162-168 Link Here
162
            });[% END %]
162
            });[% END %]
163
163
164
        $(document).ready(function(){
164
        $(document).ready(function(){
165
            $("dl.sortable").sortable();
166
            $("select[multiple='multiple']").multipleSelect( {
165
            $("select[multiple='multiple']").multipleSelect( {
167
                placeholder: _("Please select ..."),
166
                placeholder: _("Please select ..."),
168
                selectAllText: _("Select all"),
167
                selectAllText: _("Select all"),
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js (-1 / +6 lines)
Lines 82-87 $( document ).ready( function () { Link Here
82
        return false;
82
        return false;
83
    });
83
    });
84
84
85
    $("dl.sortable").sortable();
86
    $("dl.sortable").on( "sortchange", function( event, ui ) {
87
        // This is not exact but we just need to trigger a change
88
        $(ui.item.find('input:first')).change();
89
    } );
90
85
    window.onbeforeunload = function () {
91
    window.onbeforeunload = function () {
86
        if ( KOHA.Preferences.Modified ) {
92
        if ( KOHA.Preferences.Modified ) {
87
            return MSG_MADE_CHANGES;
93
            return MSG_MADE_CHANGES;
88
- 

Return to bug 20115