kylevorster Posted April 15, 2013 Share Posted April 15, 2013 I've discovered a bug on the viewcart.php page for theme modern. When you select "Domain Registrant Information" with a new contact add it drops down a empty form, its because the class is not removed with the jquery command. class hidden stays in the div. <div class="signupfields{if $contact neq "addingnew"} hidden{/if}" id="domaincontactfields"> I modified the main.js file within the modern theme folder and added the following. "removeClass('hidden')" function domaincontactchange() { if (jQuery("#domaincontact").val()=="addingnew") { jQuery("#domaincontactfields").slideDown(); jQuery("#domaincontactfields").removeClass('hidden'); } else { jQuery("#domaincontactfields").slideUp(); } } Hope this helps someone else or gets added in the new release. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted April 16, 2013 WHMCS CEO Share Posted April 16, 2013 I can't seem to reproduce this. The jQuery slideDown command should override the hidden state without needing to remove the class. Matt 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.