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

(-)a/admin/smart-rules.pl (-1 / +2 lines)
Lines 498-504 $template->param(categoryloop => \@category_loop, Link Here
498
                        branchloop => \@branchloop,
498
                        branchloop => \@branchloop,
499
                        humanbranch => ($branch ne '*' ? $branches->{$branch}->{branchname} : ''),
499
                        humanbranch => ($branch ne '*' ? $branches->{$branch}->{branchname} : ''),
500
                        current_branch => $branch,
500
                        current_branch => $branch,
501
                        definedbranch => scalar(@sorted_row_loop)>0 
501
                        definedbranch => scalar(@sorted_row_loop)>0,
502
                        DHTMLcalendar_dateformat =>  C4::Dates->DHTMLcalendar()
502
                        );
503
                        );
503
output_html_with_http_headers $input, $cookie, $template->output;
504
output_html_with_http_headers $input, $cookie, $template->output;
504
505
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-2 / +1 lines)
Lines 172-178 for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde Link Here
172
                             Calendar.setup(
172
                             Calendar.setup(
173
                             {
173
                             {
174
                             inputField : "hardduedate",
174
                             inputField : "hardduedate",
175
                             ifFormat : "%m/%d/%Y",
175
                             ifFormat : "[% DHTMLcalendar_dateformat %]",
176
                             button : "CalendarDueDate",
176
                             button : "CalendarDueDate",
177
                             onClose: refocus
177
                             onClose: refocus
178
                             }
178
                             }
179
- 

Return to bug 8663