fixes the chat
This commit is contained in:
@ -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
Reference in New Issue
Block a user