diff options
author | Sarven Capadisli <csarven@status.net> | 2009-11-18 15:41:07 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-11-18 15:41:07 +0000 |
commit | 5014b748e486f46a8653d1609479f8f64dc24722 (patch) | |
tree | 66ee52de506cc939bafc3a4dda9dc79294d881d8 /plugins/Realtime/RealtimePlugin.php | |
parent | 43b6da8afc223d1eefa74d390b09b7a4381ee734 (diff) |
Added play/pause button for realtime notices. While on pause, it will
store the notices and on play it will add them to the notice list
Diffstat (limited to 'plugins/Realtime/RealtimePlugin.php')
-rw-r--r-- | plugins/Realtime/RealtimePlugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index 0c7c1240c..6d59bd1b1 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -101,8 +101,8 @@ class RealtimePlugin extends Plugin $realtimeUI = ' RealtimeUpdate.initPopupWindow();'; } else { - $iconurl = common_path('plugins/Realtime/icon_external.gif'); - $realtimeUI = ' RealtimeUpdate.addPopup("'.$url.'", "'.$timeline.'", "'. $iconurl .'");'; + $pluginPath = common_path('plugins/Realtime/'); + $realtimeUI = ' RealtimeUpdate.initActions("'.$url.'", "'.$timeline.'", "'. $pluginPath .'");'; } $action->elementStart('script', array('type' => 'text/javascript')); |