#11296 closed defect (bug) (fixed)
Impossible to cancel deletion of new Categories/Tags
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.9 | Priority: | normal |
Severity: | normal | Version: | 2.9 |
Component: | JavaScript | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
- Create a new Category.
- Without reloading the page, click the Delete link for the new Category.
- In the JS confirm() dialog, click Cancel.
- The Category is deleted anyway'''
Also applies to Tags.
Trunk (12304).
Attachments (1)
Change History (6)
#2
@
14 years ago
- Keywords has-patch commit added
11269.diff fixes the issue.
Seems I was wrong about Tags; it's Categories and Link Categories which are affected by this.
The patch fixes both.
#4
follow-up:
↓ 5
@
14 years ago
Good catch, thought I fixed this some time ago. Better to use jQuery.live() there to avoid dealing with multiple repeating events.
#5
in reply to:
↑ 4
@
14 years ago
Replying to azaozz:
Good catch, thought I fixed this some time ago. Better to use jQuery.live() there to avoid dealing with multiple repeating events.
I've never come across jQuery.live() before, actually. I didn't think there were any core jQuery functions I didn't know about! Looks good; thanks for telling me. :-)
Note: See
TracTickets for help on using
tickets.
Sorry about the formatting there.
Also, should have said; this is in Firefox 3.5.5. Haven't tested other browsers yet, but it seems likely to be a simple JS bug which would affect all browsers.