Gravity Form initialisation too late for logged in users
-
Hey again Gabe,
I just updated from Gravity Form 2.5.6.3 to version 2.5.7.1 and since then the
gform
object gets initialised too late for logged in users.For either GF version the inline script
<script type="text/javascript">if(!gform){document.addEventListener("gform_main_scripts_loaded",function(){gform.scriptsLoaded=!0}) ...
is the first in the head for logged out users (line 4). For logged in users it is on line 718, in the body, just above where it is required the first time, for the older GF version 2.5.6.3. When I apply the newer version it suddenly sits around line 918, well below the inline script
<script type='text/javascript'>gform.initializeOnLoaded ...
which than fails.
If I switch ACU off, e.g. via “Do not load Asset CleanUp on this page (this will disable any functionality of the plugin)”, the
if(!gform)
script will be in the head for logged in users, too.I informed GF about this issue as well, linking to this ticket.
Thanks,
Albert
- The topic ‘Gravity Form initialisation too late for logged in users’ is closed to new replies.