mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-07-23 01:45:43 +00:00
Merge
This commit is contained in:
commit
f62272ee46
@ -61,7 +61,7 @@ function fetchConversation(phoneNumber) {
|
||||
if (formatedMin < 10) {
|
||||
formatedMin = '0' + formatedMin;
|
||||
}
|
||||
formatedDate = msgDate.getDate() + " " + months[msgDate.getMonth()-1] + " " +
|
||||
formatedDate = msgDate.getDate() + " " + months[msgDate.getMonth()] + " " +
|
||||
formatedHour + ":" + formatedMin;
|
||||
|
||||
conversationBuf += '<div><div class="' + msgClass + '"><div>' +
|
||||
@ -77,10 +77,10 @@ function fetchConversation(phoneNumber) {
|
||||
|
||||
function changeSelectedConversation(item) {
|
||||
if (selectedConversation != null) {
|
||||
selectedConversation.removeClass('active');
|
||||
selectedConversation.parent().removeClass('selected');
|
||||
}
|
||||
selectedConversation = $(this);
|
||||
selectedConversation.addClass('active');
|
||||
selectedConversation = item;
|
||||
selectedConversation.parent().addClass('selected');
|
||||
}
|
||||
|
||||
(function ($, OC) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user