js buttons not working when adding store details
-
When adding new store:
wp-admin/post-new.php?post_type=wpsl_storesThe plugin attempts to load a Google map, however for us initializeGmap() is called before the Gmap has fully loaded, resulting in a “google undefined” error and js buttons not working (in when adding store details page)
Solution:
1. in wp-store-locator/admin/js/wpsl-admin.js, comment the initializeGmap(); call.
2. inwp-store-locator/admin/class-admin.phpwhen enqueuing google map script add a parameter: callback = initializeGmapPlease let me know what you think; perhaps you can do it better than this.
The page I need help with: [log in to see the link]
The topic ‘js buttons not working when adding store details’ is closed to new replies.