summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-27 19:50:08 -0800
committerBrion Vibber <brion@pobox.com>2010-01-27 19:50:52 -0800
commitf026ecec322e59899b5ce87abaa6d93738f67b9e (patch)
tree5e1cff1a6127a4ed92aacdb8ae03b41350bf56e2
parenta85a3ddc725a99ea182e86ec65f6be574752b18f (diff)
fix for fix for bad realtime JS load
-rw-r--r--plugins/Realtime/RealtimePlugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php
index 16e28e94d..6c212453e 100644
--- a/plugins/Realtime/RealtimePlugin.php
+++ b/plugins/Realtime/RealtimePlugin.php
@@ -87,7 +87,7 @@ class RealtimePlugin extends Plugin
$scripts = $this->_getScripts();
foreach ($scripts as $script) {
- $action->script(common_path($script));
+ $action->script($script);
}
$user = common_current_user();
@@ -307,7 +307,7 @@ class RealtimePlugin extends Plugin
function _getScripts()
{
- return array('plugins/Realtime/realtimeupdate.js');
+ return array(common_path('plugins/Realtime/realtimeupdate.js'));
}
function _updateInitialize($timeline, $user_id)