Calendar: Fix error when language variable GoToCourse have a value containing ' -refs BT#19393

pull/4102/head
NicoDucou 4 years ago committed by Angel Fernando Quiroz Campos
parent 2b8b4edf63
commit 99b3391961
  1. 2
      main/template/default/agenda/month.tpl

@ -817,7 +817,7 @@ $(function() {
{% endif %}
if ('session' === calEvent.type) {
buttons['{{ "GoToCourse"|get_lang }}'] = function() {
buttons["{{ "GoToCourse"|get_lang }}"] = function() {
window.location.href = calEvent.course_url;
};
}

Loading…
Cancel
Save