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 992-999 Link Here
992
                            opt = $(this).text().toLowerCase();
992
                            opt = $(this).text().toLowerCase();
993
                            itm = itm.replace(/.*->(.*)/,"$1"); //If item type is part of a group we need to clear the parent description
993
                            itm = itm.replace(/.*->(.*)/,"$1"); //If item type is part of a group we need to clear the parent description
994
                            opt = opt.replace(/^\s*|\s*$/g,'');
994
                            opt = opt.replace(/^\s*|\s*$/g,'');
995
                            console.log("opt "+opt);
996
                            console.log("itm "+itm.toLowerCase() );
997
                            if ( opt == itm.toLowerCase() ) {
995
                            if ( opt == itm.toLowerCase() ) {
998
                                $(this).attr('selected', 'selected');
996
                                $(this).attr('selected', 'selected');
999
                            }
997
                            }
1000
- 

Return to bug 21946