@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js +++ a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js @@ -233,6 +233,7 @@ $( document ).ready( function () { $.getJSON( themelang + "/modules/admin/preferences/" + datasource + ".json", function( data ){ var items = []; var checked = ""; + var style = ""; $.each( data, function( key, val ){ if( prefs.indexOf( val ) >= 0 ){ checked = ' checked="checked" '; @@ -240,12 +241,14 @@ $( document ).ready( function () { checked = ""; } if( exclusions.indexOf( val ) >= 0 ){ + style = ' style="color:#cccccc;" '; disabled = ' disabled="disabled" '; checked = ""; } else { + style = ' style="color:#000;" '; disabled = ""; } - items.push(''); + items.push(' ' + key + ''); }); $("
", { "class": "columns-2", --