r144 - branches/topic-space-45/speeqewebclient/scripts/messageview.js

1 view
Skip to first unread message

co...@stanziq.com

unread,
Dec 1, 2008, 11:55:06 AM12/1/08
to speeq...@stanziq.com
Revision:
144
Author:
nathan
Date:
2008-12-01 16:55:06 +0000 (Mon, 01 Dec 2008)

Log Message

trim whitespace from topic

Modified Paths

Diff

Modified: branches/topic-space-45/speeqewebclient/scripts/messageview.js (143 => 144)


--- branches/topic-space-45/speeqewebclient/scripts/messageview.js	2008-12-01 16:50:28 UTC (rev 143)
+++ branches/topic-space-45/speeqewebclient/scripts/messageview.js	2008-12-01 16:55:06 UTC (rev 144)
@@ -275,6 +275,7 @@
 	//set the topic
 	var topic = $(stanza).find('subject').text();
 	topic = this.translateMessage(topic,false);
+	topic = $.trim(topic);
 	$("#room_topic").empty();
 	$("#room_topic").append(topic);
 	$("#outer_room_topic").show();
Reply all
Reply to author
Forward
0 new messages