This topic contains 5 reply and 3 voices, and was last updated by Dimitri 5 years, 6 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
April 30, 2013 at 4:39 pm 3033
Dimitri Hi Tareq, take a look to this: http://demo.wedevs.com/wpuf/wp-admin/post.php?post=1608&action=edit As you can see, If you try to click to "Add Media" nothing happens. If you remove Google maps field, everything come back to work normally. I'm trying using Chrome but I've tested also on IE. It happens also to my WP. This is an issue of the last plugin version. Thank you
April 30, 2013 at 4:56 pm 3034
Tareq Hasan Tareq Hasan

Seems like I forgot to call the jQuery autocomplete script in the admin panel. Add wp_enqueue_script( 'jquery-ui-autocomplete' ); line at /class/admin-form.php at line 71 or next to it.

April 30, 2013 at 5:12 pm 3035
s.pezzani s.pezzani

Added, but it still does not work…

April 30, 2013 at 5:19 pm 3036
Tareq Hasan Tareq Hasan

Oops, wrong place. Trying adding just after this:
[php]
if ( !in_array( $pagenow, array( ‘post.php’, ‘post-new.php’) ) ) {
return;
}
[/php]

April 30, 2013 at 5:29 pm 3037
s.pezzani s.pezzani

oooh Yes. thank you again.

February 14, 2014 at 11:57 pm 15465
Dimitri Dimitri

Hi!

I’ve the same problem:


<p>        <script type="text/javascript"></p>
<p>            (function($) {
                $(function() {
                    var def_zoomval = 12;
                    var def_longval = -74.0059731;
                    var def_latval = 40.7143528;
                    var curpoint = new google.maps.LatLng(def_latval, def_longval),
                        geocoder   = new window.google.maps.Geocoder(),
                        $map_area = $('#wpuf-map-mappa'),
                        $input_area = $( '#wpuf-map-lat-mappa' ),
                        $input_add = $( '#wpuf-map-add-mappa' ),
                        $find_btn = $( '#wpuf-map-btn-mappa' );</p>
<p>                    autoCompleteAddress();</p>
<p>                    $find_btn.on('click', function(e) {
                        e.preventDefault();</p>
<p>                        geocodeAddress( $input_add.val() );
                    });</p>
<p>                    var gmap = new google.maps.Map( $map_area[0], {

I’ve seen your fix bat the string you suggest to add it’s already into the
/class/admin-form.php

How could solve this?

Viewing 5 Posts - 1 through 5 (of 5 total)