beezee / pods-geocomplete-field

Adds GeoComplete as a field option in WP Pods framework (http://ubilabs.github.io/geocomplete/)
GNU General Public License v2.0
1 stars 1 forks source link

Update admin.js #2

Open developez opened 9 years ago

developez commented 9 years ago

This works for me. But I think that in documentation is needed to say that the field must be called "address".

beezee commented 9 years ago

Thanks for the efforts here @scottdurban and @developez - As I mentioned in issue https://github.com/beezee/pods-geocomplete-field/issues/1 this is a result of being too coupled to the markup that PODS generates, which is obviously out of my control and can change over time.

I'd like to see a solution that limits any DOM references to markup that is produced in this plugin, so it is less sensitive to WP or PODS versions. If you guys have a revision of that nature I'd love to merge in, otherwise I will do my best to address in the near future.