summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/part.contact.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-03-29 15:24:32 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-03-29 15:25:24 +0200
commit11f7eeb63a441a71ab90ea31001471562215a94d (patch)
treeebf1721cc08f9b483fd9561560fe2c06333fc828 /apps/contacts/templates/part.contact.php
parentb559952806d1af4e20853d60fc339828b28b9a71 (diff)
downloadnextcloud-server-11f7eeb63a441a71ab90ea31001471562215a94d.tar.gz
nextcloud-server-11f7eeb63a441a71ab90ea31001471562215a94d.zip
Improve actions on delete.
Diffstat (limited to 'apps/contacts/templates/part.contact.php')
-rw-r--r--apps/contacts/templates/part.contact.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/templates/part.contact.php b/apps/contacts/templates/part.contact.php
index a93069fa722..7e6dedb843b 100644
--- a/apps/contacts/templates/part.contact.php
+++ b/apps/contacts/templates/part.contact.php
@@ -131,6 +131,7 @@ $(document).ready(function(){
if('<?php echo $id; ?>'!='') {
$.getJSON(OC.filePath('contacts', 'ajax', 'contactdetails.php'),{'id':'<?php echo $id; ?>'},function(jsondata){
if(jsondata.status == 'success'){
+ $('#leftcontent li[data-id="<?php echo $id; ?>"]').addClass('active');
Contacts.UI.Card.loadContact(jsondata.data);
}
else{