[jboss-user] [JBoss Seam] - Re: suggestionbox-can't focus fields with mouse after popup
gabby
do-not-reply at jboss.com
Fri Aug 17 09:13:58 EDT 2007
Finally we managed to solve this problem by changing some code in suggestionbox.js. We are now only focussing in 'onblur, if it's not an IE (starting at line 266):
if (RichFaces.navigatorType() != "MSIE") {
| offsets["x"] = 0;
| offsets["y"] = 0;
| if (event.clientX > offsets["x"] && event.clientX < (this.update.clientWidth + offsets["x"])) {
| if (event.clientY > (offsets["y"] - this.update.clientHeight) && event.clientY < offsets["y"]) {
| this.element.focus();
| return;
| }
| }
| }
For us this works. Whether there are other issues now, I can't say. We are using the 3.0.1 Snapshot of Richfaces.
Havahappy
Matthias
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075204#4075204
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075204
More information about the jboss-user
mailing list