fixes the chat

This commit is contained in:
2016-10-08 19:20:00 +02:00
parent 77aa610c3a
commit 3bdfcf36d8
2 changed files with 4 additions and 2929 deletions

View File

@ -7,12 +7,14 @@
<input type="button" id="sendmessage" value="Send" />
<input type="hidden" id="displayname" />
@if (ViewBag.Contacts!=null) {
<select id="to" >
@foreach (var contact in ViewBag.Contacts) {
<option>@contact.UserName</option>
}
</select>
}
<ul id="discussion">
</ul>
<ul id="private">
@ -22,7 +24,7 @@
<!--Script references. -->
<!--The jQuery library is required and is referenced by default in _Layout.cshtml. -->
<!--Reference the SignalR library. -->
<script src="~/js/jquery.signalR-2.2.0.js"></script>
<script src="~/js/jquery.signalR-2.2.1.min.js"></script>
<!--Reference the autogenerated SignalR hub script. -->
<script src="~/signalr/hubs"></script>
<!--SignalR script to update the chat page and send messages.-->

File diff suppressed because it is too large Load Diff