Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.5
-
None
Description
hi all,
the AjaxEditableLabel's #onError implementation fails to properly focus the editor. The problem is the javascript appended to the ajax request target; replacing the lines 460 - 462 in AjaxEditableLabel with the the below code fixes the problem.
target.appendJavascript("{var el=wicketGet('" + editor.getMarkupId() + "'); el.select(); el.focus();}");
a workaround is to subclass AjaxEditableLabel and overide the #onError method.
many thanks in advance,
pete.