#2851 closed defect (bug) (fixed)
Deleting link with apostrophe in title doesn't work
| Reported by: | disaster77 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.0.3 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Deleting a link with an apostrophe in the title produces a JavaScript error since the apostrophe is not escaped. The link can not be deleted until the title is changed to not have the apostrophe.
Error: missing ) after argument list
Source Code:
return deleteSomething( 'link', 51 , 'You are about to delete the "Roy's Photo Gallery" bookmark to http://.\n"Cancel" to stop, "OK" to delete.' );
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [3906]) js_escape() in onclicks. fixes #2851