Closed
Bug 1162854
Opened 10 years ago
Closed 10 years ago
hitting back after making an edit should keep edit mode open
Categories
(bugzilla.mozilla.org :: User Interface, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: glob, Assigned: glob)
Details
Attachments
(1 file, 1 obsolete file)
4.52 KB,
patch
|
dkl
:
review+
|
Details | Diff | Splinter Review |
steps:
- make an invalid edit (eg. try to set the assignee to blank)
- hit save
- read the error message
- hit back
expected:
- bug in edit mode so corrections can be made
actual:
- view mode
Attachment #8603198 -
Flags: review?(dkl)
Comment 2•10 years ago
|
||
Comment on attachment 8603198 [details] [diff] [review]
1162854_1.patch
Review of attachment 8603198 [details] [diff] [review]:
-----------------------------------------------------------------
<@dkl> glob: strange. bug 1162854. if i open user story modal, but not focus it, and also open people modal, hit edit, clear assignee, commit. When I hit back it always autofocuses the user story text area
<@glob> dkl, ah, i know what that is. comment in the review i'll work around it
My guess is maybe to do with below but didn't play around with it:
// if there's no current user-story, it's a better experience if it's editable by default
if ($('#cf_user_story').val() === '') {
$('#user-story-edit-btn').click();
}
Otherwise looks good will r+ once the fix is verified.
dkl
Attachment #8603198 -
Flags: review?(dkl) → review-
- prevent user-story from stealing focus when navigating back
Attachment #8603198 -
Attachment is obsolete: true
Attachment #8606854 -
Flags: review?(dkl)
Comment 4•10 years ago
|
||
Comment on attachment 8606854 [details] [diff] [review]
1162854_2.patch
Review of attachment 8606854 [details] [diff] [review]:
-----------------------------------------------------------------
r=dkl
Attachment #8606854 -
Flags: review?(dkl) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
7810a12..ad9f924 master -> master
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: User Interface: Modal → User Interface
You need to log in
before you can comment on or make changes to this bug.
Description
•