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 @@
1124
1124
$destOnkeyup = '';
1125
1125
}
1126
1126
# Uploading a new version? If so, the name is fixed.
1127
- $on = $this->mReUpload ? "disabled='disabled'" : "";
1127
+ $on = $this->mReUpload ? "readonly='readonly'" : "";
1128
1128
1129
1129
$encComment = htmlspecialchars( $this->mComment );
1130
1130
Status & tagging log
08:54, 18 January 2012
Siebrand
(
talk
|
contribs
)
changed the
tags
for r46475
[
removed:
live]
21:11, 28 January 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
tags
for r46475
[
added:
live]
21:11, 28 January 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r46475
[
removed:
new
added:
resolved]