Jump to content

New Listing Issue jQuery conflict?


Guest Sawri Vang
 Share

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

Link to comment
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.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...