Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta
-
Component/s: ACE-Components
-
Labels:None
-
Environment:-
-
Assignee Priority:P1
-
Affects:Compatibility/Configuration
-
Workaround Exists:Yes
-
Workaround Description:
Description
A user is receiving the following JS error when using the ACE components, specifically the ace:dataTable:
$(this.jqId + " th.ui-sortable-column .ui-sortable-control") is null.
This can be reproduce in the ACE component suite showcase found in 2.1 Beta. He has found that the $ object is not referencing the jQuery object and that the solution is to add "$ = jQuery" to the page like so:
<script type="text/javascript">
$ = jQuery;
</script>
However he fears that this may break more complex pages. JQuery should ideally be used in no-conflict mode and the component JS should not be directly accessing the global $ object but instead should I either use jQuery" or re-assign to a member variable.
$(this.jqId + " th.ui-sortable-column .ui-sortable-control") is null.
This can be reproduce in the ACE component suite showcase found in 2.1 Beta. He has found that the $ object is not referencing the jQuery object and that the solution is to add "$ = jQuery" to the page like so:
<script type="text/javascript">
$ = jQuery;
</script>
However he fears that this may break more complex pages. JQuery should ideally be used in no-conflict mode and the component JS should not be directly accessing the global $ object but instead should I either use jQuery" or re-assign to a member variable.
Attaching customer's sample file showing their implementation.