-
1. Re: ProcessAllFocusElements() is called 5200 times when open
ilya_shaikovsky Jul 10, 2009 5:48 AM (in response to suprairc)This function called in order to find all the elements which could be focused and add a callback which will prevent the focus. And it works recursively. So the number of calls depends on your DOM tree size. And turning it off will cause the issue of avoid modality with tab keyboard key.
-
2. Re: ProcessAllFocusElements() is called 5200 times when open
suprairc Jul 10, 2009 6:20 AM (in response to suprairc)We have our own focus script which handles the focus globally for all components dynamically. We don't need this function anymore, because we handle it ourselves with our own script...
How can we turn ProcessAllFocusElements() off?
It would mean a lot to us for our modal-panel performance.
Thx in advance,
Jordy Baas -
3. Re: ProcessAllFocusElements() is called 5200 times when open
ilya_shaikovsky Jul 10, 2009 6:28 AM (in response to suprairc)http://in.relation.to/11401.lace there I showed how to disable some MP functions.. Not precise what you need but should give you an idea.
-
4. Re: ProcessAllFocusElements() is called 5200 times when open
suprairc Jul 10, 2009 11:22 AM (in response to suprairc)Thank you very much, that was exactly the thing I was looking for, many thanks. I improved Modal Panel's speed up to 38%.
-
5. Re: ProcessAllFocusElements() is called 5200 times when opening
natarajan1987-2011 Oct 17, 2012 6:10 AM (in response to suprairc)It is really a nice post!!!.