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