Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google object #12

Open
Akshay-Hegde opened this issue Dec 11, 2014 · 0 comments
Open

google object #12

Akshay-Hegde opened this issue Dec 11, 2014 · 0 comments

Comments

@Akshay-Hegde
Copy link

You have to validate google object otherwise this will crash / disturb admin pages, while editing content, if there is no internet connectivity, you can turf off internet and then check if you would like to confirm issue, I just added 2 lines to your event function

if( typeof google === "object" && typeof google.maps === "object" )
{
$(document).ready(function(){
// You code goes here...
})
}

Modified code

https://gist.githubusercontent.com/Akshay-Hegde/b7011d0ce5d90eb2fc53/raw/ad386bd742b991dfcd367343e2767adfdc4aad91/field.geocoder.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant