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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-3 lines)
Lines 926-933 Link Here
926
                            opt = $(this).text().toLowerCase();
926
                            opt = $(this).text().toLowerCase();
927
                            itm = itm.replace(/.*->(.*)/,"$1"); //If item type is part of a group we need to clear the parent description
927
                            itm = itm.replace(/.*->(.*)/,"$1"); //If item type is part of a group we need to clear the parent description
928
                            opt = opt.replace(/^\s*|\s*$/g,'');
928
                            opt = opt.replace(/^\s*|\s*$/g,'');
929
                            console.log("opt "+opt);
930
                            console.log("itm "+itm.toLowerCase() );
931
                            if ( opt == itm.toLowerCase() ) {
929
                            if ( opt == itm.toLowerCase() ) {
932
                                $(this).attr('selected', 'selected');
930
                                $(this).attr('selected', 'selected');
933
                            }
931
                            }
934
- 

Return to bug 21946