From 88aa40e6ace17b105aa9355e0e389377775ea3e4 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Sat, 8 Oct 2011 00:00:49 +0200 Subject: [PATCH] Show add contact form on opening contacts page --- apps/contacts/js/interface.js | 7 ------- apps/contacts/templates/index.php | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/apps/contacts/js/interface.js b/apps/contacts/js/interface.js index 0fcfdeaab5d..2f4a736f553 100644 --- a/apps/contacts/js/interface.js +++ b/apps/contacts/js/interface.js @@ -1,11 +1,4 @@ $(document).ready(function(){ - /*------------------------------------------------------------------------- - * Actions for startup - *-----------------------------------------------------------------------*/ - if( $('#leftcontent li').length > 0 ){ - $('#leftcontent li').first().addClass('active'); - } - /*------------------------------------------------------------------------- * Event handlers *-----------------------------------------------------------------------*/ diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php index 6d67584b29e..98ebc1b0b36 100644 --- a/apps/contacts/templates/index.php +++ b/apps/contacts/templates/index.php @@ -14,5 +14,5 @@ OC_Util::addStyle('contacts','styles');
- inc("part.details"); ?> + inc("part.addcardform"); ?>
-- 2.39.5