mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
closes #1009
This commit is contained in:
@@ -131,7 +131,7 @@ define(['taskbar', 'string'], function(taskbar, S) {
|
|||||||
|
|
||||||
chatModal.find('#chat-with-name').html(username);
|
chatModal.find('#chat-with-name').html(username);
|
||||||
|
|
||||||
chatModal.find('.close').on('click', function(e) {
|
chatModal.find('#chat-close-btn').on('click', function(e) {
|
||||||
clearInterval(chatModal.intervalId);
|
clearInterval(chatModal.intervalId);
|
||||||
chatModal.intervalId = 0;
|
chatModal.intervalId = 0;
|
||||||
chatModal.remove();
|
chatModal.remove();
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
||||||
<h4>[[modules:chat.chatting_with]] <i id="chat-user-status" class="fa fa-circle status offline"></i></h4>
|
<h4>[[modules:chat.chatting_with]] <i id="chat-user-status" class="fa fa-circle status offline"></i></h4>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -13,6 +13,7 @@
|
|||||||
<input id="chat-message-input" type="text" placeholder="[[modules:chat.placeholder]]" name="chat-message" class="form-control">
|
<input id="chat-message-input" type="text" placeholder="[[modules:chat.placeholder]]" name="chat-message" class="form-control">
|
||||||
<span class="input-group-btn">
|
<span class="input-group-btn">
|
||||||
<button id="chat-message-send-btn" class="btn btn-primary" href="#" type="button">[[modules:chat.send]]</button>
|
<button id="chat-message-send-btn" class="btn btn-primary" href="#" type="button">[[modules:chat.send]]</button>
|
||||||
|
<button id="chat-close-btn" class="btn btn-warning" data-dismiss="modal" aria-hidden="true">[[global:close]]</button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user