Hello all,

I've been working (and almost finished) a patch to fix the issue:Missing 
default input focus and Enter key handling 
<http://jira.xwiki.org/jira/browse/XWIKI-4383>

I have a question regarding point 1) Popups.
As far as I've seen in the custom lightbox that xwiki has, no global 
event is fired when a lightbox "window" has finished loading, other than 
only a onComplete function parameter which, is useful, but for this 
specific issue, when talking about opening a popup, I see no reason why 
to not have the first input element in that box selected by default. The 
way I tackled the whole point 2) is by automatically selecting the first 
input for the #admin-page-content object, solving all panels focus at 
once. I wanted to implement the same functions for the popups, but can't 
do that without a global event. Therefore I wanted to ask your 
input/suggestions for this approach

Cheers,
Stefan
-- 
---------------------------------------------------------------
Stefan Mirea,
Webmaster @ Mercator College <http://mercator-college.org>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to