]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
quick fix: use common_path() on realtime update JS so it works with the new JS path...
authorBrion Vibber <brion@pobox.com>
Wed, 27 Jan 2010 16:53:55 +0000 (08:53 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 27 Jan 2010 16:53:55 +0000 (08:53 -0800)
plugins/Realtime/RealtimePlugin.php

index 89640f5beb25c7e41db6c4a3dceeb2569fa326cb..16e28e94d3eed57718c63e9efdd6de916ec0845f 100644 (file)
@@ -87,7 +87,7 @@ class RealtimePlugin extends Plugin
         $scripts = $this->_getScripts();
 
         foreach ($scripts as $script) {
-            $action->script($script);
+            $action->script(common_path($script));
         }
 
         $user = common_current_user();