Closed (fixed)
Project:
Ubercart Addresses
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
4 May 2013 at 13:07 UTC
Updated:
30 May 2013 at 10:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
megachrizHere is the patch.
Comment #2
megachrizIn addition of the patch in #1, this patch hides the entry on the "Manage fields" page if in the address settings the address form element on the user registration page is disabled: when both "Require that an address be entered during registration" and "Require admins to enter an address upon user creation" are disabled there is no point for providing a weight setting of the address form element on the user registration page (since it won't appear in that case).
The patch also changes the description on the form element, so it's clear it's only shown on the user registration page.
If this patch doesn't break tests (I would be surprised), then it's ready for commit.
Comment #3
megachrizCommitted #2.
Comment #4.0
(not verified) commentedCorrected hook name.