Show add contact form on opening contacts page

remotes/origin/stable
Bart Visscher 14 years ago
parent 19d4e6e1d5
commit 88aa40e6ac
  1. 7
      apps/contacts/js/interface.js
  2. 2
      apps/contacts/templates/index.php

@ -1,11 +1,4 @@
$(document).ready(function(){
/*-------------------------------------------------------------------------
* Actions for startup
*-----------------------------------------------------------------------*/
if( $('#leftcontent li').length > 0 ){
$('#leftcontent li').first().addClass('active');
}
/*-------------------------------------------------------------------------
* Event handlers
*-----------------------------------------------------------------------*/

@ -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>

Loading…
Cancel
Save