summaryrefslogtreecommitdiff
path: root/plugins/Realtime/RealtimePlugin.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-09-23 22:04:39 +0000
committerSarven Capadisli <csarven@status.net>2009-09-23 22:04:39 +0000
commitd86155ad943032918c2fab070ca49f0a3586f25d (patch)
tree5ee5ef6605522d2af0604fbac79363933b0c4b4b /plugins/Realtime/RealtimePlugin.php
parent1f12993a4ddad8eba29c604c55f6b82d08dc0127 (diff)
Using timeline string instead of title for WindowName because IE doesn't
like names with whitespace.
Diffstat (limited to 'plugins/Realtime/RealtimePlugin.php')
-rw-r--r--plugins/Realtime/RealtimePlugin.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php
index 4fb8bf84e..7334f5657 100644
--- a/plugins/Realtime/RealtimePlugin.php
+++ b/plugins/Realtime/RealtimePlugin.php
@@ -83,8 +83,6 @@ class RealtimePlugin extends Plugin
$url = $base . '?realtime=1';
}
- $title = $action->title();
-
$scripts = $this->_getScripts();
foreach ($scripts as $script) {
@@ -106,7 +104,7 @@ class RealtimePlugin extends Plugin
else {
// FIXME: This icon URL is no good if fancy URLs are off.
$iconurl = $base.'plugins/Realtime/icon_external.gif';
- $realtimeUI = ' RealtimeUpdate.addPopup("'.$url.'", "'.$title.'", "'. $iconurl .'");';
+ $realtimeUI = ' RealtimeUpdate.addPopup("'.$url.'", "'.$timeline.'", "'. $iconurl .'");';
}
$action->elementStart('script', array('type' => 'text/javascript'));