Context UI does not save context
derhasi - September 28, 2009 - 10:20
| Project: | Context |
| Version: | 6.x-2.0-beta7 |
| Component: | User interface |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | needs review |
Description
When trying to add a new context, the context is not saved by submission in several cases. This happens, when there are multiple submit buttons present on the current page, so the #id of the button is not #edit-submit but for example #edit-submit-7. So #id is not the right indicator.
I changed the indicator to FAPI id, that is contained in #parents as first element.
Patch attached.
| Attachment | Size |
|---|---|
| context_ui.submit.patch | 1.26 KB |
