Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#10239 closed defect (bug) (fixed)

Cannot cancel upon Tag/Category delete confirmation

Reported by: yoshi's profile yoshi Owned by: azaozz's profile azaozz
Milestone: 2.9 Priority: low
Severity: minor Version: 2.8
Component: JavaScript Keywords:
Focuses: Cc:

Description

At wp-admin/edit-tags.php, there are some situations where confirmation for tag deletion doesn't work as expected.

  1. After Quick edit and update a tag, clicking on Delete action immidiately deletes the tag without confirmation.
  1. Add a new tag and click on Delete under the newly created tag, confirmation dialog will popup but pressing cancel won't stop the process.

Also the same for the category editing.

Attachments (1)

tags-ajax.patch (38.1 KB) - added by azaozz 15 years ago.

Download all attachments as: .zip

Change History (6)

#1 @Denis-de-Bernardy
15 years ago

  • Milestone changed from Unassigned to 2.9

@azaozz
15 years ago

#2 @azaozz
15 years ago

  • Keywords needs-testing added

This patch should fix it for the Tags screens but needs some testing. It uses some of the new methods in jQuery 1.3 and doesn't need wp-lists and the jQuery forms plugin.

If all is working well will add it on the categories and link categories screens too.

#3 @azaozz
15 years ago

(In [11676]) Use new jQuery methods when adding, editing and deleting tags with AJAX, fix warning when deleting tags, see #10239

#4 @azaozz
15 years ago

  • Keywords needs-testing removed
  • Resolution set to fixed
  • Status changed from new to closed

Seems to be working well.

#5 @nacin
15 years ago

Cross-referencing. Looks like this caused #11350.

Note: See TracTickets for help on using tickets.