We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Disable click on tabs / save buttons during load

Developer Preview

Jace Richardson's avatar
Jace Richardson
13 posts
6 years ago
Jace Richardson's avatar Jace Richardson

It would be helpful if the tabs and buttons did not have their default behavior prior to the full JS load as the JS that controls them loads at the end and allows clicking on the elements prematurely causing unintended functionality.

I commonly find myself clicking on a tab, save, or preview button before the page loads which at least causes the page to reload making the wait time 2x but at worst (specifically preview button), tries to save the page before it’s loaded throwing required field errors as the JS components haven’t had time to initialize with their selections. In my testing, any add-on tab (using the standard tab settings array format) fails to select either it’s default value or the already saved value and throws an error (if it’s required, if it’s not required, it tries to save with the first value regardless of what is selected).

This happens after the page loads but before the JS has a chance to fully load (which happens a lot on data heavy pages).

Example of clicking Live Preview before full load.

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
6 years ago
Kevin Cupp's avatar Kevin Cupp

Thanks, Jace, makes sense. We’ll have a fix for this in the next release.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.