Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Any
-
Assignee Priority:P1
-
Workaround Exists:Yes
-
Workaround Description:
Description
When loading a page that contains an ace:tooltip component and such component doesn't specify a 'value' attribute but has nested children to display, a Javascript error is thrown in the browser console, reporting an unterminated string. The problem is that this component is initialized via a jQuery call, which must contain the content to be displayed inside a string argument. If the nested markup contains any spaces or new lines, the string is considered unterminated and the code is invalid.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Fixed at revision 25921. Done by rendering contents in a separate hidden div and then passing a reference to its innerHTML when initializing the widget.