Skip to main content

Bug Tracker

Side navigation

#5230 closed bug (worksforme)

Opened September 15, 2009 11:26AM UTC

Closed June 12, 2010 07:14PM UTC

JavaScript Error, var "start" not declared

Reported by: pMailAgency Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

The file "jquery-1.3.2.js" etc. are to be modified as shown below.

Because if the files are used with IE6 etc. then a JavaScript error occurs.

The variable "start" should be declared before it is used.

File/Line:

http://jqueryjs.googlecode.com/files/jquery-1.3.2.js line 3899

After:

var start = e.cur(true) ...

Before:

start = e.cur(true) ...

Attachments (0)
Change History (1)

Changed June 12, 2010 07:14PM UTC by dmethvin comment:1

component: unfiledcore
resolution: → worksforme
status: newclosed

The variable is declared, it's part of the preceding line:

var parts = rfxnum.exec(val),
    start = e.cur(true) || 0;

The code has changed slightly since 1.3 because the regexp is now declared elsewhere.