-
1. Re: suggestionbox - How to cancel request on blur
brianpreuss Aug 1, 2007 9:27 AM (in response to brianpreuss)Ok, maybe I wasn't clear enough about this topic :)
The problem occurs if the execution of the suggestionAction takes a long time (one can simulate it by Thread.sleep(5000) in the action).
When you are leaving the input field (which is "suggested"), then the suggestion box fill popup when the suggestionAction completes. I think that's not desiable ;)
I did some research in a JavaScript debugger. There seems to be a problem either in the onblur or in the render function of the Suggestion.Base object.
The onblur function sets a variable wasBlur to true. The render function does a check on the variable hasFocos, but not on wasBlur. Now there must be a bug somewhere :)
Is this a known bug and if so is it corrected?
I'm very interested in your replies :)