プロジェクト

全般

プロフィール

Vote #71275

完了

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

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Attachments_19
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
19
version_id:
41
issue_org_id:
10115
author_id:
13215
assigned_to_id:
1
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
36
ステータス-->[Closed]

説明

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");
  //...
}


journals

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

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

Admin Redmine さんが3年以上前に更新

  • カテゴリAttachments_19 にセット
  • 対象バージョン1.3.1_41 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0