1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 16:06:15 +00:00

ajax call fix. parenthesis fix

This commit is contained in:
Loic Blot 2014-09-16 21:05:06 +00:00
parent 59a075ba6f
commit 7fbfb93bfb

View File

@ -9,12 +9,12 @@
*/
function fetchConversation(phoneNumber) {
$.getJSON(OC.generateUrl('/apps/ocsms/get/get_conversation'),
$.getJSON(OC.generateUrl('/apps/ocsms/get/conversation'),
{'phoneNumber': phoneNumber},
function(jsondata, status) {
var conversationBuf = "";
$.each(jsondata["conversation"]), function(id, vals) {
$.each(jsondata["conversation"], function(id, vals) {
conversationBuf += vals["msg"] + "<br />";
});