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

(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js (-2 / +1 lines)
Lines 13-19 KOHA.Preferences = { Link Here
13
        // If a multiple select has all its entries unselected
13
        // If a multiple select has all its entries unselected
14
        var unserialized = new Array();
14
        var unserialized = new Array();
15
        $(modified_prefs).each(function(){
15
        $(modified_prefs).each(function(){
16
            if ( $(this).attr('multiple') && $(this).val() == null ) {
16
            if ( $(this).attr('multiple') && $(this).val().length == 0 ) {
17
                unserialized.push($(this));
17
                unserialized.push($(this));
18
            }
18
            }
19
        });
19
        });
20
- 

Return to bug 31364