From e9935592563fb7ba50079b4908ef5d80d1a23dbf Mon Sep 17 00:00:00 2001 From: Dongsheng Cai Date: Wed, 25 Aug 2010 06:15:01 +0000 Subject: [PATCH] "MDL-23917, automatically start comments block" --- comment/lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/comment/lib.php b/comment/lib.php index 12a3c370170..58bf4eae244 100644 --- a/comment/lib.php +++ b/comment/lib.php @@ -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);