Project

General

Profile

Actions

Defect #10115

closed

Javascript error - Can't attach more than 1 file on IE 6 and 7

Added by Hong Choi about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Attachments
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Users can't add new attachment form due to Javascript error on IE 6 and 7.

It seems there's mis-use of the Prototype.js at redmine's application.js

On addFileField() method, "document.createElement()" method must be replaced with "new Element()".

function addFileField() {
  //...
  //var s = document.createElement("span"); // This should be changed as
  var s = new Element("span");
  //...
}

Actions #1

Updated by Etienne Massip about 12 years ago

  • Resolution set to Wont fix

Sorry but IE6 or IE7 are pretty old browsers right now, so this issue is unlikely to be fixed some day.

Actions #2

Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 1.3.1
  • Resolution changed from Wont fix to Fixed

It's a simple change, so it's worth to be committed.

Actions #3

Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from Resolved to Closed

Merged.

Actions

Also available in: Atom PDF