Jump to content
Sign in to follow this  
Guest Sawri Vang

New Listing Issue jQuery conflict?

Recommended Posts

Guest Sawri Vang

jQuery("#ad_address") autocomplete is not a function

http://www.hmong.net/directory/add-new-listing/add/admin/userid/54

Line 929

 

while trying to add a new entry. this effects google maps autocomplete which gets coords from an address. how do i resolve this? thanks.

 

Could someone assist me with this?

Can Use Acct: demo321/demo321

to see this issue

Share this post


Link to post
Share on other sites
Guest Sawri Vang

solved. seemed to be that jqueryui wasn't loading so i forced it at the beginning of

components\com_jomdirectory\views\admin\tmpl\_location.tpl.php

by adding to the beginning of the php file.

 

i went through the php files of about 20 components and all their different version of jquery and jqueryui and referenced them to the latest using the bellow where relevant, well worth the time spent for performance reasons :-):

 

$document->addScript(JURI::root() . 'js/jquery-1.7.1.min.js');

$document->addScript(JURI::root() . 'js/jquery-ui-1.8.18.custom.min.js');

or

or

 

just in case anyone else is using JAT3 framework and runs into this issues.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...