diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-06-18 02:22:22 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-06-18 02:22:22 +0200 |
commit | e5feb4e1aab49fe658f65e9503b268eb3f41882d (patch) | |
tree | eb3531ecb82b2f68b1c4714e7bc65080b8fbbc2e /apps/contacts/templates | |
parent | 73fd4c979a3e8f30c80327e1c28c8373a462c0b8 (diff) | |
download | nextcloud-server-e5feb4e1aab49fe658f65e9503b268eb3f41882d.tar.gz nextcloud-server-e5feb4e1aab49fe658f65e9503b268eb3f41882d.zip |
Remove obsolete js.
Diffstat (limited to 'apps/contacts/templates')
-rw-r--r-- | apps/contacts/templates/part.contact.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/apps/contacts/templates/part.contact.php b/apps/contacts/templates/part.contact.php index 80e2ee1125a..5757563fe5b 100644 --- a/apps/contacts/templates/part.contact.php +++ b/apps/contacts/templates/part.contact.php @@ -121,19 +121,3 @@ $id = isset($_['id']) ? $_['id'] : ''; <div id="edit_photo_dialog" title="Edit photo"> <div id="edit_photo_dialog_img"></div> </div> -<script type="text/javascript"> -$(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); - Contacts.UI.loadHandlers(); - } - else{ - OC.dialogs.alert(jsondata.data.message, t('contacts', 'Error')); - } - }); - } -}); -</script> |