While testing various cases of #539052: Before clicking edit button on existing signup, only Attendance select box is disabled, I noticed that a user without perms to edit their own signup gets an enabled status selector form element, even though there's no submit button.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 583010-1.signup_status_no_edit.patch | 1.9 KB | dww |
Comments
Comment #1
dwwComment #2
mlsamuelson commentedThe patch fixes the behavior. A user with only Create Signups and Cancel Signups could previously toggle the status (ie. it wasn't disabled) though there was not edit/save button. After the patch, the status dropdown is disabled as desired.
Comment #3
dwwCommitted to HEAD. Thanks for testing!
Comment #5
donquixote commentedI have a problem in Opera:
Users with permission to change their signup status can't do so in Opera.
The reason is that the fieldset is still set to
disabled="disabled". In Opera this has the effect that all child elements are disabled too.Comment #6
dww@donquixote: That's a separate bug from this issue. Please open a new issue for that.
Comment #7
donquixote commentedHere we go,
#662848: fieldset with disabled="disabled" will disable all child elements. (Signup Status, Opera)
I thought that this bug was probably introduced with the fix discussed here, but this was just a guess.