From ffb7ca3e9939076285b7823048c0a5eae90cf3b8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 3 Feb 2011 12:18:57 -0500 Subject: [PATCH] Realtime needs to load from own directory, not subclass's --- plugins/Realtime/RealtimePlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index 5d119982f5..246b1f9735 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -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')); } /** -- 2.39.5