Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.3
-
Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
-
Component/s: ACE-Components, Sample Apps
-
Labels:None
-
Environment:ICEfaces 3.3.0 Build8
Server: Tomcat7
Browsers: FF20, Chrome26
-
Assignee Priority:P3
Description
GMap > Info Windows:
Pressing the 'Enter' key in the infoWindow text entry while editing the text, followed by pressing the 'Submit' button triggers a JS error; this issue is not present if user does not press the 'Enter' key.
Firefox20:
SyntaxError: unterminated string literal
http://maps.gstatic.com/cat_js/intl/en_gb/mapfiles/api-3/12/7/%7Bmain,places%7D.js
Line 11
Chrome26: Uncaught SyntaxError: Unexpected token ILLEGAL
Pressing the 'Enter' key in the infoWindow text entry while editing the text, followed by pressing the 'Submit' button triggers a JS error; this issue is not present if user does not press the 'Enter' key.
Firefox20:
SyntaxError: unterminated string literal
http://maps.gstatic.com/cat_js/intl/en_gb/mapfiles/api-3/12/7/%7Bmain,places%7D.js
Line 11
Chrome26: Uncaught SyntaxError: Unexpected token ILLEGAL
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Committed fix at revision 34714. Escaped window content so that string literals aren't considered unterminated because of the new line character.