]
Hai Nguyen reassigned GTNPORTAL-2180:
-------------------------------------
Assignee: Trong Tran (was: Hai Nguyen)
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: