jquery/jquery-mobile — Issue #2797: Disabling loader by setting the loading message to false does not disable 100%
Author: dhensche
Created: 2011-10-21 14:26:08+00:00
State: open

Doing this disables the loader from starting, but the hideLoadingMsg still gets called internally from jqm. When you disable the loader I think it should give the developer 100% control over when to show it or hide it, not just whether or not it turns on. I think this is useful in highly dynamic situations (such as my own), where there are many ajax requests that may get started in a beforeshow event handler. These requests may not finish by the time the hide loader fn is called, but because the new event fires my loading message disappears and the user sees a weird page with no indication anything is loading while the ajax requests finish. For now I have just completely disabled the hiding of the loader and left the showing of it enabled, this way the loader starts to show properly, but will only hide when I tell it too.