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 948-955 Link Here
948
                            opt = $(this).text().toLowerCase();
948
                            opt = $(this).text().toLowerCase();
949
                            itm = itm.replace(/.*->(.*)/,"$1"); //If item type is part of a group we need to clear the parent description
949
                            itm = itm.replace(/.*->(.*)/,"$1"); //If item type is part of a group we need to clear the parent description
950
                            opt = opt.replace(/^\s*|\s*$/g,'');
950
                            opt = opt.replace(/^\s*|\s*$/g,'');
951
                            console.log("opt "+opt);
952
                            console.log("itm "+itm.toLowerCase() );
953
                            if ( opt == itm.toLowerCase() ) {
951
                            if ( opt == itm.toLowerCase() ) {
954
                                $(this).attr('selected', 'selected');
952
                                $(this).attr('selected', 'selected');
955
                            }
953
                            }
956
- 

Return to bug 21946