r46475 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46474‎ | r46475 | r46476 >
Date:19:58, 28 January 2009
Author:aaron
Status:resolved
Tags:
Comment:
(bug 17200) "Reuploading a file saves to source file name (regression)" - Use 'readonly' instead of 'disabled'
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUpload.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUpload.php
@@ -1123,7 +1123,7 @@
11241124 $destOnkeyup = '';
11251125 }
11261126 # Uploading a new version? If so, the name is fixed.
1127 - $on = $this->mReUpload ? "disabled='disabled'" : "";
 1127+ $on = $this->mReUpload ? "readonly='readonly'" : "";
11281128
11291129 $encComment = htmlspecialchars( $this->mComment );
11301130

Status & tagging log