diff --git a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/css/staff-global.css index 4f5679d91b..8a7159ff7b 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/css/staff-global.css @@ -2438,12 +2438,16 @@ a.disabled { } .close:hover { - color: #538200; + color: inherit; filter: inherit; font-size: inherit; opacity: inherit; } +a.close:hover { + color: #538200; +} + /* Redefine a new style for Bootstrap's class "close" since we use that already */ /* Use × */ .alert .closebtn{position:relative;top:-2px;right:-21px;line-height:20px;} diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt index d9d95af066..039c8ecdbf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt @@ -12,7 +12,7 @@ // Enforce Superlibrarian Privilege Mutual Exclusivity if($('input[id="flag-0"]:checked').length){ if ($('input[name="flag"]:checked').length > 1){ - alert('Inconsistency Detected!\n\nThe superlibrarian privilege is mutually exclusive of other privileges, as it includes them all.\n\nThis patron\'s privileges will now be reset to include only superlibrarian.'); + alert(_("Inconsistency detected! The superlibrarian privilege is mutually exclusive of other privileges, as it includes them all. This patron's privileges will now be reset to include only superlibrarian.")); } $('input[name="flag"]').each(function() { @@ -39,10 +39,17 @@ } }); + $(".flag").on("change",function(){ + if( $(this).hasClass("parent") ){ + toggleChildren(this); + } else { + toggleParent(this); + } + }); + }); - - -