]> source.dussan.org Git - nextcloud-server.git/commitdiff
Show add contact form on opening contacts page
authorBart Visscher <bartv@thisnet.nl>
Fri, 7 Oct 2011 22:00:49 +0000 (00:00 +0200)
committerBart Visscher <bartv@thisnet.nl>
Sat, 8 Oct 2011 22:04:37 +0000 (00:04 +0200)
apps/contacts/js/interface.js
apps/contacts/templates/index.php

index 0fcfdeaab5df00dc7dbc375a7133de3d1869313e..2f4a736f55376554166bfb6d608066b1e718e9f9 100644 (file)
@@ -1,11 +1,4 @@
 $(document).ready(function(){
-       /*-------------------------------------------------------------------------
-        * Actions for startup
-        *-----------------------------------------------------------------------*/
-       if( $('#leftcontent li').length > 0 ){
-               $('#leftcontent li').first().addClass('active');
-       }
-
        /*-------------------------------------------------------------------------
         * Event handlers
         *-----------------------------------------------------------------------*/
index 6d67584b29ef625a0f3468bff99bc93850bdc8ce..98ebc1b0b36ea1845ba700cb0f74f0077f6bdac9 100644 (file)
@@ -14,5 +14,5 @@ OC_Util::addStyle('contacts','styles');
        </ul>
 </div>
 <div id="rightcontent" class="rightcontent" data-id="<?php echo $_['id']; ?>">
-       <?php echo $this->inc("part.details"); ?>
+       <?php echo $this->inc("part.addcardform"); ?>
 </div>