webstaff: protect more modals from accidental closures
Bug #1689325 reported by
Galen Charlton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
By default, Bootstrap modals are dismissed if the user clicks outside of them. Sometimes, that's OK; if the modal is only providing some sort of information message, providing lots of ways to get rid of it can be handy.
More often (?), though, we don't want that behavior, as accidentally dismissing the modal can result in losing work — for example, consider a modal that embeds the MARC editor.
We should consider adding the "backdrop: 'static'" option as a matter of course to all modals.
Evergreen master
Changed in evergreen: | |
importance: | Undecided → Wishlist |
milestone: | none → 3.next |
summary: |
- webstaff: protect more modals against accidental closures + webstaff: protect more modals from accidental closures |
tags: | added: webstaffclient |
Changed in evergreen: | |
assignee: | nobody → Cesar V (cesardv) |
Changed in evergreen: | |
milestone: | 3.next → 3.1-beta |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I have a working branch for this here...
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ cesardv/ lp1689325_ enable_ backdrop- static_ modals
Still working on testing every modal, making sure the new setting won't causes usability/UI issues.