summaryrefslogtreecommitdiffstats
path: root/lib/class
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2007-08-01 03:33:40 +0000
committerxgizzmo <xgizzmo@ampache>2007-08-01 03:33:40 +0000
commit67fd06887b1659569a6c2b61f2c700560bb71cd5 (patch)
tree2234814fc92ed06504865a4fd368782462564760 /lib/class
parentf4812a7921ea60f8519d9d2593d9a667faa14ff6 (diff)
downloadampache-67fd06887b1659569a6c2b61f2c700560bb71cd5.tar.gz
ampache-67fd06887b1659569a6c2b61f2c700560bb71cd5.tar.bz2
ampache-67fd06887b1659569a6c2b61f2c700560bb71cd5.zip
Replace references to old code with new code
Diffstat (limited to 'lib/class')
-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;