Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/23/2010 12:01:04 PM (14 years ago)
Author:
apeatling
Message:

Fixes #2043

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-themes/bp-default/registration/register.php

    r2695 r2773  
    175175                        <p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes, I\'d like to create a new blog', 'buddypress' ) ?></p>
    176176
    177                         <div id="blog-details">
     177                        <div id="blog-details"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class="show"<?php endif; ?>>
    178178
    179179                            <label for="signup_blog_url"><?php _e( 'Blog URL', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
     
    298298    <script type="text/javascript">
    299299        jQuery(document).ready( function() {
    300             if ( jQuery('div#blog-details').length )
     300            if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
    301301                jQuery('div#blog-details').toggle();
    302302
Note: See TracChangeset for help on using the changeset viewer.