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

Little navigation fix

This commit is contained in:
Loic Blot 2016-05-19 22:44:46 +02:00
parent bcc062ecb8
commit 6d1c3bcb32

View File

@ -110,7 +110,7 @@ app.controller('OcSmsController', ['$scope', '$interval', '$timeout', '$compile'
$scope.selectedContact = contact; $scope.selectedContact = contact;
} }
$scope.messages = []; $scope.messages = [];
$.getJSON(OC.generateUrl('/apps/ocsms/get/conversation'), {'phoneNumber': phoneNumber}, $.getJSON(OC.generateUrl('/apps/ocsms/get/conversation'), {'phoneNumber': $scope.selectedContact.nav},
function(jsondata, status) { function(jsondata, status) {
var phoneNumberLabel = phoneNumber; var phoneNumberLabel = phoneNumber;
$scope.selectedContact.nav = phoneNumber; $scope.selectedContact.nav = phoneNumber;