Contacts={
UI:{
+ notification:function(msg, ndata) {
+ $('#notification').text(msg);
+ if(data) {
+ $('#notification').data(ndata[0],ndata[1]);
+ }
+ $('#notification').fadeIn();
+ setTimeout($('#notification').fadeOut(), 10000);
+ },
notImplemented:function() {
OC.dialogs.alert(t('contacts', 'Sorry, this functionality has not been implemented yet'), t('contacts', 'Not implemented'));
},
OCCategories.changed = Contacts.UI.Card.categoriesChanged;
OCCategories.app = 'contacts';
+ $('#notification').click(function(){
+ $('#notification').fadeOut();
+ });
+
$('#chooseaddressbook').click(function(){
Contacts.UI.Addressbooks.overview();
return false;