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

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (+1 lines)
Lines 262-267 table+table { Link Here
262
	border : 0;
262
	border : 0;
263
}
263
}
264
264
265
.highlighted-row { background-color: orange !important } 
265
266
266
tr.highlight td, tr.highlight th, tr.odd td {
267
tr.highlight td, tr.highlight th, tr.odd td {
267
	background-color : #F3F3F3;
268
	background-color : #F3F3F3;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-1 / +2 lines)
Lines 10-16 $(document).ready(function() { Link Here
10
                $('#selectlibrary').submit();
10
                $('#selectlibrary').submit();
11
        });
11
        });
12
        $(".editrule").click(function(){
12
        $(".editrule").click(function(){
13
            $('#default-circulation-rules td').removeClass('highlighted-row');
13
            $(this).parent().parent().find("td").each(function (i) {
14
            $(this).parent().parent().find("td").each(function (i) {
15
                $(this).addClass('highlighted-row');
14
                itm = $(this).text();
16
                itm = $(this).text();
15
                itm = itm.replace(/^\s*|\s*$/g,'');
17
                itm = itm.replace(/^\s*|\s*$/g,'');
16
                var current = $("#default-circulation-rules tr:last td:eq("+i+")");
18
                var current = $("#default-circulation-rules tr:last td:eq("+i+")");
17
- 

Return to bug 4354