Bug Tracker

Opened 10 years ago

Closed 10 years ago

#5230 closed bug (worksforme)

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) ...

Change History (1)

comment:1 Changed 10 years ago by dmethvin

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.

Note: See TracTickets for help on using tickets.