Risk of loosing data on slow pageload
Posted: 2014-11-30 18:53
I have a detailview page with 14 dropdowns.
If the page loads slow (2-6 sec), the user has time to update the record before all values at loaded. The not loaded dropdowns will overwrite existing values with empty values.
Rigth now i have a script almost in the end of the _dml.php file, that activates the buttons after 1500-4500 ms. but if the page take longer to load I still have the problem.
Does anyone have an idea how to either get the selects to load faster or how to make sure that the user can't update the record before all select2() are loaded ?

If the page loads slow (2-6 sec), the user has time to update the record before all values at loaded. The not loaded dropdowns will overwrite existing values with empty values.
Rigth now i have a script almost in the end of the _dml.php file, that activates the buttons after 1500-4500 ms. but if the page take longer to load I still have the problem.
Does anyone have an idea how to either get the selects to load faster or how to make sure that the user can't update the record before all select2() are loaded ?
