Hi Tuvia,Sorry for being silent yesterday, I was off.
I view this issue caused be FoxInCloud rather than Prototype.
1- which version of FoxInCloud do you use ? wMessageBox() support has slightly changed with version 1.10 (awFrmMB instance recycled instead of being reinstantiated on each call, thus HTML generated once as opposed to dynamically).
2- can you reproduce the issue in your IDE, in debug mode, so that we can point to the exact FoxInCloud.js line where error occurs (in DEBUGMODE, _Source js files are used while in 'production' mode, IOW NOT DEBUGMODE, it's minified version of js files - all code being in one physical line, it's almost impossible to spot the offending instruction)
The javaScript produced by server probably focus() on the element before it is made visible.
Thanks,
thn
The issue is reproducible. jQuery issued a patch for this a month or two ago, I have not seen anything from prototype. To reproduce in IE8
Have a click method that calls a messagebox with a callback, like this:
procedure click
thisform.wmessagebox(wformcallback,blah, 36)
Then in the wformback call another messagebox with no callback
In IE8, and only IE8, sometimes on .wmessagebox calls I get this js error:
Webpage error details
Message: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
Line: 1
Char: 25361
Code: 0
URI: http://localhost/awScripts/FoxInCloud.js
The dialog message box is open and displayed, but will not accept clicks or input, in effect stranding the user on that dialog.
It never happens in IE9, FF, Chrome.
Unfortunately IE8 support is an absolute requirement for this project, all the end user workstations run XP and IE8
Any ideas?
-- thn (FoxInCloud)