summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/class/ajax.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/ajax.class.php b/lib/class/ajax.class.php
index cb734edf..b3d35f07 100644
--- a/lib/class/ajax.class.php
+++ b/lib/class/ajax.class.php
@@ -42,9 +42,9 @@ class Ajax {
*/
public static function observe($source,$method,$action) {
- $observe = "<script type=\"text/javascript\">\n";
+ $observe = "<script type=\"text/javascript\"><!--\n";
$observe .= "\tEvent.observe('$source','$method',function(){" . $action . ";});\n";
- $observe .= "</script>\n";
+ $observe .= "--></script>\n";
return $observe;