From 94504363364e3c041b6e73bd60aeddfa9ae93cc8 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sat, 14 Sep 2013 18:35:25 +0200 Subject: [PATCH] Fix adding contact inline. --- js/app.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/app.js b/js/app.js index 44c22867..0ad689f9 100644 --- a/js/app.js +++ b/js/app.js @@ -981,7 +981,6 @@ OC.Contacts = OC.Contacts || { self.currentid = 'new'; // Properties that the contact doesn't know console.log('addContact, groupid', self.currentgroup); - self.$contactList.addClass('dim'); var groupprops = { favorite: false, groups: self.groups.categories, @@ -989,9 +988,9 @@ OC.Contacts = OC.Contacts || { }; self.$firstRun.hide(); self.$contactList.show(); - self.$contactList.addClass('dim'); self.tmpcontact = self.contacts.addContact(groupprops); - self.$rightContent.prepend(self.tmpcontact); + self.tmpcontact.prependTo(self.$contactList.find('tbody')).show(); + self.$rightContent.scrollTop(0); self.hideActions(); };