1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Adding Force-Refresh Button for the RoomList

This commit is contained in:
Tim Düsterhus 2012-01-28 16:43:48 +01:00
parent cca83a596f
commit 192a421a19
2 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,9 @@ TimWolla.WCF ?= {}
@autocompleteValue = null @autocompleteValue = null
, @ , @
# Refreshes the roomlist
$('#chatRoomList button').click $.proxy(@refreshRoomList, @)
# Clears the stream # Clears the stream
$('#chatClear').click (event) -> $('#chatClear').click (event) ->
event.preventDefault() event.preventDefault()

View File

@ -119,6 +119,7 @@
{/if} {/if}
{/foreach} {/foreach}
</ul> </ul>
<div style="text-align: center;"><button type="button">Force Refresh</button></div>
</div> </div>
</nav> </nav>
</div> </div>