From cbe70ac13b3960d276f3d0ee1d83cca7d4bf553f Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Wed, 24 Jun 2015 06:30:39 +0000 Subject: [PATCH] Reinit g_curPhoneNumber when delete conversation to stop refreshing it --- js/public/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/public/app.js b/js/public/app.js index d7bc9e0..b7bead5 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -62,6 +62,7 @@ app.controller('OcSmsController', ['$scope', $('#ocsms-conversation-removal').hide(); $('#app-content-header').hide(); $("li[peer-label='" + g_curContactName + "']").remove(); + g_curPhoneNumber = null; }); }