Skip to content

google object  #12

@Akshay-Hegde

Description

@Akshay-Hegde

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions