From 33dceacc8ee21e6afa3e87f1981f9cdd19e27446 Mon Sep 17 00:00:00 2001 From: sostler Date: Mon, 24 May 2010 21:26:16 -0400 Subject: removed topic list code --- static/js/pichat.js | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'static/js') diff --git a/static/js/pichat.js b/static/js/pichat.js index 84a9b79..516fd99 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -352,26 +352,6 @@ function isDuplicateMessage(m) { } } -var CurrentTopic = null; - -function isSameTopic(curTopic, newTopic) { - if (!!curTopic != !!newTopic) { return false; } - else if (!curTopic) { return false; } // => !newTopic also - else { - return curTopic.topic == newTopic.topic && - curTopic.deadline == newTopic.deadline && - curTopic.maker == newTopic.maker; - } -} - -function updateTopic(newTopic) { - if (isSameTopic(CurrentTopic, newTopic)) { return; } - alert('new topic'); - CurrentTopic = newTopic; - $('#topic').text(topic.topic); - -} - function refresh() { var onSuccess = function(json) { try { @@ -390,9 +370,6 @@ function refresh() { if (typeof UnseenMsgCounter !== 'undefined' && !HasFocus) { UnseenMsgCounter += messages.length; } - if (json.topic) { - updateTopic(json.topic); - } } catch(e) { if (IsAdmin && window.console) { console.error(e); -- cgit v1.2.3-70-g09d2 From 0c28d18cee3f623d86caf4eccb71403831ca6064 Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Tue, 25 May 2010 02:23:27 -0400 Subject: sostler prod commit --- static/css/dump.css | 4 ++-- static/js/pichat.js | 6 +++++- template/profile.st | 14 +------------- 3 files changed, 8 insertions(+), 16 deletions(-) (limited to 'static/js') diff --git a/static/css/dump.css b/static/css/dump.css index c6cd068..18e3e76 100755 --- a/static/css/dump.css +++ b/static/css/dump.css @@ -415,7 +415,7 @@ opacity:0.87; z-index:18; text-align: left; } -#userList a:hover{color:#000;} +#userList a:hover{color:#ffffff;} .username{height:30px; margin-top:6px; line-height:20px; @@ -437,7 +437,7 @@ width:100%; height:100%; background-image:url(/static/img/moverc.png); background-repeat:repeat-x; -color:#000; +color:#fff; text-decoration:none; background-color:#f3f3f3; border-top-right-radius:5px; diff --git a/static/js/pichat.js b/static/js/pichat.js index 84a9b79..dbe58ac 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -976,7 +976,7 @@ function parseDomain(host){ // Away notification var UnseenMsgCounter = 0; -var OrigTitle = $('title').text(); +var OrigTitle = ""; var HasFocus = true; function onFocus() { @@ -1004,3 +1004,7 @@ function startTitleUpdater() { $(window).focus(onFocus); setTimeout(titleUpdater, 2000); } + +$(function() { + OrigTitle = $('title').text(); +}); \ No newline at end of file diff --git a/template/profile.st b/template/profile.st index 0634b05..e530e4a 100644 --- a/template/profile.st +++ b/template/profile.st @@ -78,19 +78,7 @@
- + $else$
-- cgit v1.2.3-70-g09d2