#194 closed task (fixed)
Team: the alerts should be Indico style dialogs, not JS confirm()
Reported by: | cangelov | Owned by: | arescope |
---|---|---|---|
Priority: | normal | Milestone: | v1.0 |
Component: | Paper reviewing | Version: | 0.98-dev |
Keywords: | Cc: |
Description
Change History (13)
comment:1 Changed 5 years ago by jbenito
- Resolution set to wontfix
- Status changed from new to closed
comment:2 Changed 3 years ago by pferreir
- Resolution wontfix deleted
- Status changed from closed to new
comment:3 Changed 3 years ago by pferreir
- Milestone changed from v0.98.1 to v0.99.0
- Owner changed from cangelov to arescope
- Status changed from new to assigned
comment:4 Changed 3 years ago by arescope
- Status changed from assigned to awaiting_merge
comment:5 Changed 3 years ago by jbenito
- Status changed from awaiting_merge to merging
comment:6 Changed 3 years ago by pferreir
- Status changed from merging to assigned
comment:7 Changed 3 years ago by pferreir
- Status changed from assigned to awaiting_merge
comment:8 Changed 3 years ago by jbenito
- Milestone changed from v0.99.0 to v1.0
comment:9 Changed 3 years ago by pferreir
comment:10 Changed 3 years ago by pferreir
- Status changed from awaiting_merge to assigned
comment:11 Changed 3 years ago by arescope
- Status changed from assigned to awaiting_merge
comment:12 Changed 3 years ago by Alberto Resco Perez <alberto.resco.perez@…>
- Resolution set to fixed
- Status changed from awaiting_merge to closed
comment:13 Changed 3 years ago by Alberto Resco Perez <alberto.resco.perez@…>
Note: See
TracTickets for help on using
tickets.
I've fixed:
Available as pferreir-public/194-review.
However, there's a common pattern (confirm dialog after clicking on link) that is repeated several times.
Currently it's being done like this:
What about a more general approach which allows us to set a data attribute such as:
This would basically consist of a general version of the code above without having to repeat it. The only challenge would be finding the right place where to execute the selector (after page load).