Fix note display after refresh
commitbc5cef299e1617d9f79b575107b244ce49848376
authorAdrian Moennich <adrian.moennich@cern.ch>
Thu, 9 Jul 2015 14:06:34 +0000 (9 16:06 +0200)
committerAdrian Moennich <adrian.moennich@cern.ch>
Thu, 9 Jul 2015 14:06:34 +0000 (9 16:06 +0200)
treeb3db2b107bb0942af3c650d7ffc3bd03e5fa058a
parent5ee40945ae4231e705da8e7eec97e0ce76e8754e
Fix note display after refresh

Firefox keeps the checked state of the note checkboxes so we need to
show the notes accordingly.

Also enabled JS strict mode and fixed a leaking global.
indico/htdocs/js/indico/modules/eventdisplay.js
indico/modules/events/notes/templates/_note.html