jQuery error

  • emmexx
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #13269 by emmexx
jQuery error was created by emmexx
After installing the recent updates of the package, placemarks stopped being displayed on a map.

In the javascript console of the browser I found the following errors:
ReferenceError: jQuery is not defined

jquery-ui.min.js:6:52 (.../components/com_zhosmmap/assets/jquery-ui/1.11.4/jquery-ui.min.js)

jQuery 2
 <anonymous>
 <anonymous>

Followed by:
TypeError: ae(...).autocomplete is not a function objectmanager-min.js:13:53509
    hG .../components/com_zhosmmap/assets/js/objectmanager-min.js:13
    enablePlacemarkListSearch .../components/com_zhosmmap/assets/js/objectmanager-min.js:13
    initialize .../my-map:4448
    <anonymous> .../my-map:4528
    jQuery 4

In the html head the link tag to jquery-ui is before the link tag of jquery.

Can you check if there's some error in the component code?

Thank you
maxx

Please Log in or Create an account to join the conversation.

More
1 year 8 months ago #13270 by Dima
Replied by Dima on topic jQuery error
Hi maxx.
Probably you updated your template too, and it change order when jquery library is loaded.
Try to fix it by
wiki.zhuk.cc/index.php/Zh_OpenStreetMap_...efined_error_message

Don't forget support my developments: post review in JED , donate , help with thanslation ;)
The following user(s) said Thank You: emmexx

Please Log in or Create an account to join the conversation.

  • emmexx
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #13272 by emmexx
Replied by emmexx on topic jQuery error
That solved the problem! We had updated the template and the zh component together.

Thank you
maxx

Please Log in or Create an account to join the conversation.

Time to create page: 0.050 seconds

Donate


Go to top