From 1a56a174213d9fe6153fa498669740604d9899ae Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 28 Jan 2009 19:58:04 +0000 Subject: [PATCH] (bug 17200) "Reuploading a file saves to source file name (regression)" - Use 'readonly' instead of 'disabled' --- includes/specials/SpecialUpload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialUpload.php b/includes/specials/SpecialUpload.php index 6d98d959cd..9f1c16b67f 100644 --- a/includes/specials/SpecialUpload.php +++ b/includes/specials/SpecialUpload.php @@ -1123,7 +1123,7 @@ wgUploadAutoFill = {$autofill}; $destOnkeyup = ''; } # Uploading a new version? If so, the name is fixed. - $on = $this->mReUpload ? "disabled='disabled'" : ""; + $on = $this->mReUpload ? "readonly='readonly'" : ""; $encComment = htmlspecialchars( $this->mComment ); -- 2.20.1