Skip to main content

Bug Tracker

Side navigation

#2971 closed bug (invalid)

Opened June 03, 2008 09:57AM UTC

Closed October 13, 2009 12:08AM UTC

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:
Blocked by: Blocking:
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

}

Attachments (0)
Change History (3)

Changed June 04, 2008 03:56PM UTC by jdsharp comment:1

Hi Scolas,

Can you attach a test case that demonstrates this issue?

Cheers,

-Jonathan

Changed July 01, 2008 03:26AM UTC by flesler comment:2

component: coreplugin
keywords: name.replacejdmenu name.replace
owner: → jdsharp

Changed October 13, 2009 12:08AM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed

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 .