From d7183001f39947ca77716d24056c3a43844cf425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 27 Dec 2011 17:10:39 +0100 Subject: [PATCH] Adding shouldInit and didInit event --- template/chat.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/chat.tpl b/template/chat.tpl index 2859cee..6436d19 100644 --- a/template/chat.tpl +++ b/template/chat.tpl @@ -182,7 +182,9 @@ animations: {CHAT_ANIMATIONS}, maxTextLength: {CHAT_LENGTH} } + {event name='shouldInit'} TimWolla.WCF.Chat.init(); + {event name='didInit'} TimWolla.WCF.Chat.handleMessages([ {implode from=$newestMessages item='message'} {@$message->jsonify()}