fixes the chat
This commit is contained in:
parent
031a5d9f3d
commit
d350d7e7f9
2 changed files with 4 additions and 2929 deletions
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue