Bug Tracker

Modify

Ticket #5230 (closed bug: worksforme)

Opened 4 years ago

Last modified 3 years ago

JavaScript Error, var "start" not declared

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

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

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to worksforme
  • Component changed from unfiled to core

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.