Realtime needs to load from own directory, not subclass's

This commit is contained in:
Evan Prodromou 2011-02-03 12:18:57 -05:00
parent 68cf2bdced
commit ffb7ca3e99

View File

@ -116,7 +116,7 @@ class RealtimePlugin extends Plugin
function onEndShowStatusNetStyles($action)
{
$action->cssLink($this->path('realtimeupdate.css'),
$action->cssLink(Plugin::staticPath('Realtime', 'realtimeupdate.css'),
null,
'screen, projection, tv');
return true;
@ -323,7 +323,7 @@ class RealtimePlugin extends Plugin
function _getScripts()
{
return array($this->path('realtimeupdate.min.js'));
return array(Plugin::staticPath('Realtime', 'realtimeupdate.min.js'));
}
/**