summaryrefslogtreecommitdiffstats
path: root/apps/contacts/js
diff options
context:
space:
mode:
authorStephan Bergemann <st.bergemann@htw-berlin.de>2012-06-17 02:29:35 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-06-17 20:25:32 +0200
commit92e35bd843890eabeb582c5b616354324f332e85 (patch)
tree75ef31aa9e2810ae3afc61312bd197de86168d3c /apps/contacts/js
parent7f485d1b2058a1af2f82555939df3d6c306047a3 (diff)
downloadnextcloud-server-92e35bd843890eabeb582c5b616354324f332e85.tar.gz
nextcloud-server-92e35bd843890eabeb582c5b616354324f332e85.zip
now a little less in template - more in ajax controller
Diffstat (limited to 'apps/contacts/js')
-rw-r--r--apps/contacts/js/contacts.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js
index 1c5139117d9..925dbafe467 100644
--- a/apps/contacts/js/contacts.js
+++ b/apps/contacts/js/contacts.js
@@ -1557,7 +1557,7 @@ $(document).ready(function(){
$('.contacts').click();
}
});
- $('.contacts').click(function(event){
+ $(document).on("click", ".contacts",function(event){
var $tgt = $(event.target);
if ($tgt.is('li') || $tgt.is('a')) {
var item = $tgt.is('li')?$($tgt):($tgt).parent();
@@ -1678,3 +1678,4 @@ $(document).ready(function(){
$('#contacts_propertymenu_dropdown a').click(propertyMenuItem);
$('#contacts_propertymenu_dropdown a').keydown(propertyMenuItem);
});
+Contacts.UI.Contacts.update();