fix for fix for bad realtime JS load

This commit is contained in:
Brion Vibber 2010-01-27 19:50:08 -08:00
parent 84e7c7783c
commit 5c0560a7fc

View File

@ -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)