1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00

Contacts: Make micro templates work on FF 4.

This commit is contained in:
Thomas Tanghus 2012-12-14 16:35:10 +01:00
parent 85ec5eeb9f
commit 7efb089810
2 changed files with 5 additions and 5 deletions

View File

@ -830,7 +830,7 @@ OC.Contacts = OC.Contacts || {};
*/
Contact.prototype.renderStandardProperty = function(name, property) {
if(!this.detailTemplates[name]) {
console.log('No template for', name);
console.error('No template for', name);
return;
}
var values = property

View File

@ -58,12 +58,12 @@
<div id="contactsheader">
<input type="checkbox" id="toggle_all" title="<?php echo $l->t('(De-)select all'); ?>" />
<div class="actions">
<button class="add action text"><?php echo $l->t('New Contact'); ?></button>
<button class="download action text"><?php echo $l->t('Download Contact(s)'); ?></button>
<select class="groups action text button" name="groups">
<button class="add svg action text"><?php echo $l->t('New Contact'); ?></button>
<button class="download svg action text"><?php echo $l->t('Download Contact(s)'); ?></button>
<select class="groups svg action text button" name="groups">
<option value="-1" disabled="disabled" selected="selected"><?php echo $l->t('Groups'); ?></option>
</select>
<button class="favorite action inactive control" title="<?php echo $l->t('Favorite'); ?>"></button>
<button class="favorite action svg inactive control" title="<?php echo $l->t('Favorite'); ?>"></button>
<a class="delete action" title="<?php echo $l->t('Delete Contact'); ?>"></a>
</div>
</div>