summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-17 09:33:04 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-12-21 10:54:54 +0100
commit891a51103d9c37cac9724407d8b7a4f1e2ddf42d (patch)
tree89bc046583216b2159682f48f7c5d747e110e071 /js
parente97a0a86a84143e02726edb1e8fee2368205ad25 (diff)
Fit contacts list to guidelines
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'js')
-rw-r--r--js/components/contact/contact_controller.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/js/components/contact/contact_controller.js b/js/components/contact/contact_controller.js
index ab8d3ca7..eb14f842 100644
--- a/js/components/contact/contact_controller.js
+++ b/js/components/contact/contact_controller.js
@@ -6,12 +6,6 @@ angular.module('contactsApp')
errorMessage : t('contacts', 'This card is corrupted and has been fixed. Please check the data and trigger a save to make the changes permanent.'),
};
- ctrl.openContact = function() {
- $route.updateParams({
- gid: $routeParams.gid,
- uid: ctrl.contact.uid()});
- };
-
ctrl.getName = function() {
// If lastName equals to firstName then none of them is set
if (ctrl.contact.lastName() === ctrl.contact.firstName()) {