diff options
author | Brion Vibber <brion@pobox.com> | 2010-01-27 19:50:08 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-01-27 19:50:08 -0800 |
commit | 5c0560a7fc7d5e7bb9c91da7cc273d2dc89e32b2 (patch) | |
tree | f747cac9ebcf21867ffe8a3eaa7a72362c8e4cd2 /plugins/Realtime | |
parent | 84e7c7783c3a781b6dc12335371c984eca8e43d8 (diff) |
fix for fix for bad realtime JS load
Diffstat (limited to 'plugins/Realtime')
-rw-r--r-- | plugins/Realtime/RealtimePlugin.php | 4 |
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) |