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