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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+11 lines)
Lines 3573-3578 span { Link Here
3573
        color: #C00;
3573
        color: #C00;
3574
        font-style: italic;
3574
        font-style: italic;
3575
        margin-left: .5em;
3575
        margin-left: .5em;
3576
        &.required-valid {
3577
            color: green;
3578
            &::before {
3579
                content: "\f00c";
3580
                display: inline-block;
3581
                font-family: FontAwesome;
3582
                font-style: normal;
3583
                margin-right: 5px;
3584
                width: 1em;
3585
            }
3586
        }
3576
    }
3587
    }
3577
3588
3578
    &.important {
3589
    &.important {
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-1 / +9 lines)
Lines 358-360 function saveOrClearSimpleSearchParams() { Link Here
358
    localStorage.setItem('cat_search_pulldown_selection', pulldown_selection );
358
    localStorage.setItem('cat_search_pulldown_selection', pulldown_selection );
359
    localStorage.setItem('searchbox_value', searchbox_value );
359
    localStorage.setItem('searchbox_value', searchbox_value );
360
}
360
}
361
- 
361
362
jQuery.validator.setDefaults({
363
    highlight: function (element) {
364
        $(element).nextAll("span.required").hide().removeClass("required-valid");
365
    },
366
    unhighlight: function (element) {
367
        $(element).nextAll("span.required").show().addClass("required-valid");
368
    },
369
});

Return to bug 27427