v1.18.x
Baris Soner Usakli 11 years ago
parent d0100176ef
commit c703dba3dd

@ -131,7 +131,7 @@ define(['taskbar', 'string'], function(taskbar, S) {
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);
chatModal.intervalId = 0;
chatModal.remove();

@ -3,7 +3,7 @@
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4>[[modules:chat.chatting_with]] <i id="chat-user-status" class="fa fa-circle status offline"></i></h4>
</div>
@ -13,6 +13,7 @@
<input id="chat-message-input" type="text" placeholder="[[modules:chat.placeholder]]" name="chat-message" class="form-control">
<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-close-btn" class="btn btn-warning" data-dismiss="modal" aria-hidden="true">[[global:close]]</button>
</span>
</div>
</div>

Loading…
Cancel
Save