[gatein-issues] [JBoss JIRA] (GTNPORTAL-2180) Javascript popup error when using UIUserSelector
Hai Nguyen (Resolved) (JIRA)
jira-events at lists.jboss.org
Thu Oct 27 02:49:46 EDT 2011
[ https://issues.jboss.org/browse/GTNPORTAL-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hai Nguyen resolved GTNPORTAL-2180.
-----------------------------------
Resolution: Done
> Javascript popup error when using UIUserSelector
> ------------------------------------------------
>
> Key: GTNPORTAL-2180
> URL: https://issues.jboss.org/browse/GTNPORTAL-2180
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment:
> Reporter: Trong Tran
> Assignee: Trong Tran
> Labels: portal-s63, synced
> Fix For: 3.2.0-M02
>
>
> When using *UIUserSelector*, after selecting an user, a Javascript popup error appears:
> TypeError: root is null :
> eXo.webui.UIUserSelector.captureInput("QuickSearch","javascript:eXo.webui.UIForm.submitForm('802269a3-d0f0-4bf2-a383-5ef0db8f962c#PermissionTreeSelectUser','Search',true)") -- 2
> Reason: in *UIUserSelector* , attribute *id* with value *UIUserSelector* does not exist but in *UIUserSelector.js*, there is a statement trying to find it:UIUserSelector.prototype.captureInput = function(input, action) {
> if(typeof(input) == "string") {
> var uiform = document.getElementById("UIUserSelector");
> input = eXo.core.DOMUtil.findDescendantById(uiform, input);
> }
> input.form.onsubmit = eXo.webui.UIUserSelector.cancelSubmit ;
> input.onkeypress= eXo.webui.UIUserSelector.onEnter ;
> } ;
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list