Metadata
- Source
- FLUID-762
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Michelle D'Souza
- Reporter
- Anastasia Cheetham
- Created
2008-06-10T17:35:37.000-0400 - Updated
2008-06-23T17:33:27.000-0400 - Versions
- N/A
- Fixed Versions
-
- 0.4
- Component
-
- Inline Edit
Description
After an edit is complete (i.e. enter key is pressed, and editor switches from edit mode back to display mode), focus is (correctly) still on the display text, but the 'focus' style is not being properly applied - probably because it is being toggled instead of set/unset?
To reproduce:
http://build.fluidproject.org/fluid/tests/fluid-tests/manual/inline-edit/InlineEdit.html
- Enter edit mode on a field (doesn't matter if you actually change the text)
- Press Enter to exit edit mode
--> focus is on the display field, but it doesn't have the focus style - Press Enter again to enter edit mode
- Press Enter to exit edit mode again
--> focus is on the display, but this time it does have the focus style - Repeatedly press Enter to switch in and out of edit mode over and over
--> the focus style is only applied on alternating occurrences
dev-iteration36
Comments
-
Michelle D'Souza commented
2008-06-16T16:29:22.000-0400 Switched to using addClass and removeClass instead of toggleClass.