summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-06-07 20:28:28 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-06-07 20:29:16 +0200
commitd4f6f3e9355979aedb174d6f9b5f60380934aca9 (patch)
treeb11a8196962f7ec02aca71d3688f7e258b67da77
parent33c802dcaa77a1e30a8ca5223be817f81679747e (diff)
downloadnextcloud-server-d4f6f3e9355979aedb174d6f9b5f60380934aca9.tar.gz
nextcloud-server-d4f6f3e9355979aedb174d6f9b5f60380934aca9.zip
Contacts: Attempt to make file upload work in ICS Chrome.
-rw-r--r--apps/contacts/templates/part.importaddressbook.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/contacts/templates/part.importaddressbook.php b/apps/contacts/templates/part.importaddressbook.php
index cb5d68149ec..0e2956ddaf4 100644
--- a/apps/contacts/templates/part.importaddressbook.php
+++ b/apps/contacts/templates/part.importaddressbook.php
@@ -36,5 +36,7 @@ if(OCP\App::isEnabled('files_encryption')) {
<?php } ?>
</td>
<script type="text/javascript">
-Contacts.UI.Addressbooks.loadImportHandlers();
+$(document).ready(function(){
+ Contacts.UI.Addressbooks.loadImportHandlers();
+});
</script> \ No newline at end of file