fix for fix for bad realtime JS load
This commit is contained in:
parent
84e7c7783c
commit
5c0560a7fc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user