http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11211
--- Comment #41 from Magnus Enger <[email protected]> --- Comment on attachment 33898 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33898 Bug 11211 - Move calculation code out of C4::Calendar Review of attachment 33898: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=11211&attachment=33898) ----------------------------------------------------------------- ::: koha-tmpl/intranet-tmpl/prog/en/modules/tools/calendar.tt @@ +490,5 @@ > + [% FOREACH event IN weekly_events %] > + <tr> > + <td> > +<script type="text/javascript"> > + document.write(weekdays[ [% event.weekday %]]); I think this line is causing the problem I was seeing with the page just showing the name of a weekday. I think document.write does not just inject some text where it is executed, but writes to the top level window (or something like that), thus replacing the whole HTML page with a single word in this instance. Commenting out this line makes the page render OK. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
