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

(-)a/admin/smart-rules.pl (-1 / +2 lines)
Lines 494-500 $template->param(categoryloop => \@category_loop, Link Here
494
                        branchloop => \@branchloop,
494
                        branchloop => \@branchloop,
495
                        humanbranch => ($branch ne '*' ? $branches->{$branch}->{branchname} : ''),
495
                        humanbranch => ($branch ne '*' ? $branches->{$branch}->{branchname} : ''),
496
                        current_branch => $branch,
496
                        current_branch => $branch,
497
                        definedbranch => scalar(@sorted_row_loop)>0 
497
                        definedbranch => scalar(@sorted_row_loop)>0,
498
                        DHTMLcalendar_dateformat =>  C4::Dates->DHTMLcalendar()
498
                        );
499
                        );
499
output_html_with_http_headers $input, $cookie, $template->output;
500
output_html_with_http_headers $input, $cookie, $template->output;
500
501
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-2 / +1 lines)
Lines 162-168 for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde Link Here
162
                             Calendar.setup(
162
                             Calendar.setup(
163
                             {
163
                             {
164
                             inputField : "hardduedate",
164
                             inputField : "hardduedate",
165
                             ifFormat : "%m/%d/%Y",
165
                             ifFormat : "[% DHTMLcalendar_dateformat %]",
166
                             button : "CalendarDueDate",
166
                             button : "CalendarDueDate",
167
                             onClose: refocus
167
                             onClose: refocus
168
                             }
168
                             }
169
- 

Return to bug 8663