Whenever the Country is changed, the AJAX callback submits the form unnecessarily. When using this in conjunction with a user, the Location module appears in their edit account page, and if the Country field is changed, everything is submitted. This presents a huge problem to a newly registered user who's trying to set a location AND set a password. Upon selecting a country, the form is submitted and as such the password field becomes empty, and locks the user out from being able to complete the change since Drupal now expects a "Current Password", when in fact none exists yet!

Comments

TahitiPetey’s picture

Title: AJAX callback when changing the Country submits the form (when using "Dropdown" widget). » AJAX callback when changing the Country submits the form when on account profile page (with Password).

Actually, I was mistaken. This doesn't only occur for dropdown widgets, it also happens when using the autocomplete widget!

pir’s picture

Version: 7.x-4.x-dev » 7.x-3.x-dev

Got the same problem with the 7.x-3.x-dev version.

oksana-c’s picture

Issue summary: View changes

Anybody had any progress on this issue? the issue persists with the latest dev.

rooby’s picture

Status: Active » Postponed (maintainer needs more info)

I cannot reproduce this with the latest dev version.

Can you provide any more information regarding your set-up?
For example:
Are you using location_user or location_cck module?
Do you have any javascript errors in the console or PHP errors in your logs?
Is there anything else about your set-up that might be relevant? Does it work for you with a brand new Drupal install?