Details
-
Type: Bug
-
Status: Closed
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P01
-
Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces3 trunk revision 38556
All browsers
-
Assignee Priority:P1
-
Salesforce Case Reference:
Description
There are JS errors occuring when tabbing away (blur) from certain components. I've noticed it with: textEntry, textAreaEntry, autoCompleteEntry, selectMenu, comboBox, and checkboxButton. This is also preventing the ajax events and listeners from firing for textEntry and textAreaEntry.
In Firefox:
ReferenceError: setFocus is not defined
http://localhost:8080/focusManager/javax.faces.resource/util/ace-components.uncompressed.js.jsf?ln=icefaces.ace&v=3_4_0_131008
Line 2929
In IE:
Message: 'setFocus' is undefined
Line: 2929
Char: 9
Code: 0
URI: http://localhost:8080/focusManager/javax.faces.resource/util/ace-components.uncompressed.js.jsf?ln=icefaces.ace&v=3_4_0_131008
In Firefox:
ReferenceError: setFocus is not defined
http://localhost:8080/focusManager/javax.faces.resource/util/ace-components.uncompressed.js.jsf?ln=icefaces.ace&v=3_4_0_131008
Line 2929
In IE:
Message: 'setFocus' is undefined
Line: 2929
Char: 9
Code: 0
URI: http://localhost:8080/focusManager/javax.faces.resource/util/ace-components.uncompressed.js.jsf?ln=icefaces.ace&v=3_4_0_131008
Modified ACE components that are referencing setFocus function in their JS code to be using now ice.setFocus (which is part of the public bridge API). When compat resources are not loaded setFocus function is not defined. The compat resources are now loaded only when needed, see
ICE-9622.