1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-20 21:03:05 +00:00

Prepare conversation deletion in PHP code too

This commit is contained in:
Loic Blot
2015-06-23 20:55:40 +00:00
parent a83c494d47
commit 3105eeb776
4 changed files with 14 additions and 1 deletions
+4
View File
@@ -52,6 +52,10 @@ app.controller('OcSmsController', ['$scope',
changeSelectedConversation($("a[mailbox-navigation='" + contact.nav + "']"));
}
};
$scope.removeConversation = function() {
$.post(OC.generateUrl('/apps/ocsms/delete/conversation'), {"contact": g_curContactName}, function(data) {
});
}
$scope.addContact = function (ct) {
$scope.$apply(function () {