diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-05-03 17:21:29 +0400 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-05-03 18:01:40 +0400 |
commit | a89231ac1d34d497a275add9a6b0b0482e924d6f (patch) | |
tree | b8afe40ec4dd6ccbe8d1002e7684b369e77cabd3 /apps | |
parent | 5be9084c73a0ae4e04b2c85cca5b8fe7c98d3ebb (diff) |
Contacts: Clean up tipsies.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/contacts/js/contacts.js | 5 | ||||
-rwxr-xr-x | apps/contacts/templates/index.php | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index 06218e48bcb..3672a094f4a 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -150,10 +150,11 @@ Contacts={ } ] ); $('#categories').multiple_autocomplete({source: categories}); - $('.button,.action,.tip').tipsy(); $('#contacts_deletecard').tipsy({gravity: 'ne'}); $('#contacts_downloadcard').tipsy({gravity: 'ne'}); - Contacts.UI.loadListHandlers(); + $('#contacts_propertymenu_button').tipsy(); + $('#contacts_newcontact, #chooseaddressbook').tipsy({gravity: 'sw'}); + console.log($('#contacts_newcontact').html()); }, Card:{ id:'', diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php index a5db483b9a1..79825067d82 100755 --- a/apps/contacts/templates/index.php +++ b/apps/contacts/templates/index.php @@ -10,8 +10,8 @@ </div> <div id="bottomcontrols"> <form> - <button class="svg" id="contacts_newcontact"><img class="svg" src="<?php echo OCP\Util::linkTo('contacts', 'img/contact-new.svg'); ?>" alt="<?php echo $l->t('Add Contact'); ?>" title="<?php echo $l->t('Add Contact'); ?>" /></button> - <button class="svg" id="chooseaddressbook"><img class="svg" src="core/img/actions/settings.svg" alt="<?php echo $l->t('Addressbooks'); ?>" title="<?php echo $l->t('Addressbooks'); ?>" /></button> + <button class="svg" id="contacts_newcontact" title="<?php echo $l->t('Add Contact'); ?>"><img class="svg" src="<?php echo OCP\Util::linkTo('contacts', 'img/contact-new.svg'); ?>" alt="<?php echo $l->t('Add Contact'); ?>" /></button> + <button class="svg" id="chooseaddressbook" title="<?php echo $l->t('Addressbooks'); ?>"><img class="svg" src="core/img/actions/settings.svg" alt="<?php echo $l->t('Addressbooks'); ?>" /></button> </form> </div> <div id="rightcontent" class="rightcontent" data-id="<?php echo $_['id']; ?>"> |