blob: 2d84076f9cd2a9bb5625cc702393003257bde3d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
angular.module('contactsApp')
.controller('contactCtrl', function($route, $routeParams) {
var ctrl = this;
ctrl.t = {
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()});
};
});
|