#1419 - Cannot switch user as an admin since the iOS 7 Update
| Identifier | #1419 |
|---|---|
| Issue type | Major issue (breaks an entire feature) |
| Title | Cannot switch user as an admin since the iOS 7 Update |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | General / Uncategorised |
| Description | Hi,
Both my iPad and iPhone have been upgraded to iOS 7. Since doing this I am not able to use the switch user feature. I did notice that this was true for another entry box the other day - but I cannot for the life remember where that was now. It appears that any text entry box that relies on the iOS pop up to actually enter it and do something no longer responds. Cheers, Ade |
| Steps to reproduce | Go to the front page of www.vwgolfmk1.org.uk with admin privileges and scroll the the bottom of the page on an iPad or iPhone. Enter the name of a user you want to SU as. Hit Go in the dialogue and nothing happens. |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
There is a historical convention that a form will submit when you press enter on a field that has no implicit handling of enter (e.g. a textarea would use it to put in a line break).
ios7 does not seem to follow this.
The fix was to add this to the SU input:
onkeypress="if (enter_pressed(event)) this.form.submit();"