fix for fix for bad realtime JS load

This commit is contained in:
Brion Vibber 2010-01-27 19:50:08 -08:00
parent a85a3ddc72
commit f026ecec32

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)