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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+5 lines)
Lines 3305-3310 label { Link Here
3305
        display: block;
3305
        display: block;
3306
        margin: .5em 0;
3306
        margin: .5em 0;
3307
    }
3307
    }
3308
3309
    &.disabled {
3310
        color: #CCC;
3311
        cursor: not-allowed;
3312
    }
3308
}
3313
}
3309
3314
3310
.radio {
3315
.radio {
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js (-4 / +2 lines)
Lines 241-254 $( document ).ready( function () { Link Here
241
                    checked = "";
241
                    checked = "";
242
                }
242
                }
243
                if( exclusions.indexOf( val ) >= 0 ){
243
                if( exclusions.indexOf( val ) >= 0 ){
244
                    style = ' style="color:#cccccc;" ';
244
                    style = 'disabled';
245
                    disabled = ' disabled="disabled" ';
245
                    disabled = ' disabled="disabled" ';
246
                    checked  = "";
246
                    checked  = "";
247
                } else {
247
                } else {
248
                    style = ' style="color:#000;" ';
249
                    disabled = "";
248
                    disabled = "";
250
                }
249
                }
251
                items.push('<label' + style +'><input class="dbcolumn_selection" type="checkbox" id="' + key + '"' + checked + disabled + ' name="pref" value="' + val + '" /> ' + key + '</label>');
250
                items.push('<label class="' + style +'"><input class="dbcolumn_selection" type="checkbox" id="' + key + '"' + checked + disabled + ' name="pref" value="' + val + '" /> ' + key + '</label>');
252
            });
251
            });
253
            $("<div/>", {
252
            $("<div/>", {
254
                "class": "columns-2",
253
                "class": "columns-2",
255
- 

Return to bug 27321