r100166 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r100165
|
r100166
|
r100167
>
Date:
21:47, 18 October 2011
Author:
maxsem
Status:
ok
Tags:
Comment:
remove leading & from POST
Modified paths:
/trunk/extensions/ApiSandbox/ext.apiSandbox.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/ApiSandbox/ext.apiSandbox.js
—
—
@@ -242,6 +242,9 @@
243
243
showLoading( $output );
244
244
if ( mustBePosted ) {
245
245
$requestUrl.val( url );
246
+ if ( params.length > 0 ) {
247
+ params = params.substr( 1 ); // remove leading &
248
+ }
246
249
$requestPost.val( params );
247
250
$postRow.show();
248
251
} else {
Status & tagging log
20:07, 5 January 2012
Johnduhart
(
talk
|
contribs
)
changed the
tags
for r100166
[
removed:
api]
20:07, 5 January 2012
Johnduhart
(
talk
|
contribs
)
changed the
status
of r100166
[
removed:
new
added:
ok]
06:07, 5 January 2012
RobLa-WMF
(
talk
|
contribs
)
changed the
tags
for r100166
[
added:
api]