mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-08 00:16:24 +00:00
Another fix
This commit is contained in:
parent
6d1c3bcb32
commit
64939e31d7
@ -112,8 +112,7 @@ app.controller('OcSmsController', ['$scope', '$interval', '$timeout', '$compile'
|
|||||||
$scope.messages = [];
|
$scope.messages = [];
|
||||||
$.getJSON(OC.generateUrl('/apps/ocsms/get/conversation'), {'phoneNumber': $scope.selectedContact.nav},
|
$.getJSON(OC.generateUrl('/apps/ocsms/get/conversation'), {'phoneNumber': $scope.selectedContact.nav},
|
||||||
function(jsondata, status) {
|
function(jsondata, status) {
|
||||||
var phoneNumberLabel = phoneNumber;
|
var phoneNumberLabel = $scope.selectedContact.nav;
|
||||||
$scope.selectedContact.nav = phoneNumber;
|
|
||||||
|
|
||||||
if (typeof jsondata['phoneNumbers'] != 'undefined') {
|
if (typeof jsondata['phoneNumbers'] != 'undefined') {
|
||||||
phoneNumberList = arrayUnique(jsondata['phoneNumbers']);
|
phoneNumberList = arrayUnique(jsondata['phoneNumbers']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user