Modify ↓
Ticket #2971 (closed bug: invalid)
name.replace throw exceptions
| Reported by: | Scolas | Owned by: | jdsharp |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | plugin | Version: | 1.2.5 |
| Keywords: | jdmenu name.replace | Cc: | |
| Blocking: | Blocked by: |
Description
in version 1.2.6
With some plugin like jdmenu ,jquery rises an error on line 1115 in attr block.
We had to add a try catch statement to solve this issue.
try {
name = name.replace(/-([a-z])/ig, function(all, letter){
return letter.toUpperCase();
});
} catch(err) {
do nothing
}
Change History
comment:2 Changed 5 years ago by flesler
- Keywords jdmenu added
- Owner set to jdsharp
- Component changed from core to plugin
comment:3 Changed 4 years ago by dmethvin
- Status changed from new to closed
- Resolution set to invalid
This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Hi Scolas,
Can you attach a test case that demonstrates this issue?
Cheers, -Jonathan