Blocking global agenda when loading a learning path

skala
Julio Montoya 13 years ago
parent efa56ff224
commit 604c178f3c
  1. 5
      main/inc/lib/template.lib.php

@ -359,7 +359,10 @@ class Template extends Smarty {
if (api_get_setting('allow_global_chat') == 'true') {
if (!api_is_anonymous()) {
$js_files[] = 'chat/js/chat.js';
//Do not include the global chat in LP
if ($this->show_learnpath == false) {
$js_files[] = 'chat/js/chat.js';
}
}
}

Loading…
Cancel
Save