From: jerome Date: Fri, 2 May 2008 05:20:40 +0000 (+0000) Subject: MDL-12864 fix bad XHTML in the messaging popup, merged from 19 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b342e64f30f3439ef39d17b91165855786bc0cfb;p=moodle.git MDL-12864 fix bad XHTML in the messaging popup, merged from 19 --- diff --git a/lib/weblib.php b/lib/weblib.php index 16fd139f4f..09f9b178ee 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1,6 +1,5 @@ id .'&course='. $courseid ; if ($target) { - $target=' target="_blank"'; + $target='onclick="return openpopup(\''.$url.'\');"'; } - $output = ''; + $output = ''; } else { $output = ''; }