diff --git a/apps/contacts/templates/part.contact.php b/apps/contacts/templates/part.contact.php index 0a930949eb733bb1313c0ed75987f64b6f41cae4..2274d66ec8c7df93b9170a7d5b104dbc58062c39 100644 --- a/apps/contacts/templates/part.contact.php +++ b/apps/contacts/templates/part.contact.php @@ -121,7 +121,7 @@ $id = isset($_['id']) ? $_['id'] : ''; <div id="edit_photo_dialog" title="Edit photo"> <div id="edit_photo_dialog_img"></div> </div> -<script language="Javascript"> +<script type="text/javascript"> $(document).ready(function(){ if('<?php echo $id; ?>'!='') { $.getJSON(OC.filePath('contacts', 'ajax', 'contactdetails.php'),{'id':'<?php echo $id; ?>'},function(jsondata){