Closed (won't fix)
Project:
Profile Location
Version:
6.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2012 at 21:40 UTC
Updated:
12 Jan 2016 at 03:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
johnhanley commentedA previous project description revision included the following:
"This module is dependent on a small inline snippet of JavaScript (jQuery) to perform its show/hide magic and does NOT degrade for users who have JavaScript disabled in their browser. If degradation is important to you, please do not use this module."
I agree some sort fallback would be ideal, but given my current professional and personal obligations this modification is unlikely to happen. Patches gladly accepted.
Please reopen this issue if you or someone would like to submit a patch.
Comment #2
johnhanley commentedComment #3
doublejosh commentedThanks.
Totally fine. Let's leave open if/when I create this patch :)
Comment #4
iamEAP commentedHere's a patch that takes care of the issue.
This adds a third field profile_territory_fallback. The field is displayed by default and hidden via JS so that if JS is enabled, the module functions as usual, but if not, the user stills sees something.
I chose to include both state and province values in the field options, separated by a blank "--- select a province ---" option.
Added some logic to the profile_location_validate_handler so that:
Comment #5
johnhanley commented@iamEAP, thanks for the patch!
I'm swamped right now and don't have time to adequately test, but maybe the OP has time.
@doublejosh, what say you?
Comment #6
doublejosh commentedI work with Eric on the same site. We can bang on it and have other staff test a bit for sure.
Comment #7
johnhanley commentedClosing due to Drupal 6 end-of-life cycle.