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 over 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

Also available in: Atom PDF