From bf1916ba03e892581e3b7efe8b562c03fb055b1a Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 16 May 2013 16:14:39 -0700 Subject: [PATCH] Closes #292 --- e107_core/shortcodes/batch/bbcode_shortcodes.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e107_core/shortcodes/batch/bbcode_shortcodes.php b/e107_core/shortcodes/batch/bbcode_shortcodes.php index a6b24c5f9..f2a85add7 100644 --- a/e107_core/shortcodes/batch/bbcode_shortcodes.php +++ b/e107_core/shortcodes/batch/bbcode_shortcodes.php @@ -102,7 +102,8 @@ class bbcode_shortcodes extends e_shortcode $data = "[list][*]Item 1[*]Item 2[/list]"; // $data = "[list]\n[*]Item 1\n[*]Item 2\n[/list]"; // works with jquery, but not onclick. - $event = $this->getEvent($this->var['trigger'],$data,LANHELP_36); + // $event = $this->getEvent($this->var['trigger'],$data,LANHELP_36); + $event = $this->getEvent('addtext',$data,LANHELP_36); $text = ""; $text .= ""; return $text;