"MDL-23917, automatically start comments block"

This commit is contained in:
Dongsheng Cai
2010-08-25 06:15:01 +00:00
parent c203a277e4
commit e993559256
+1
View File
@@ -279,6 +279,7 @@ EOD;
$options->env = $this->env;
if ($this->env == 'block_comments') {
$options->notoggle = true;
$options->autostart = true;
}
$PAGE->requires->js_init_call('M.core_comment.init', array($options), true);