mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
ajax call fix. parenthesis fix
This commit is contained in:
+2
-2
@@ -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 />";
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user