From 6d1c3bcb3263f72e8e9492faa62f4ec3f88ab072 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Thu, 19 May 2016 22:44:46 +0200 Subject: [PATCH] Little navigation fix --- js/public/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/public/app.js b/js/public/app.js index 2b4c074..cc2f0a3 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -110,7 +110,7 @@ app.controller('OcSmsController', ['$scope', '$interval', '$timeout', '$compile' $scope.selectedContact = contact; } $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) { var phoneNumberLabel = phoneNumber; $scope.selectedContact.nav = phoneNumber;