r91684 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r91683
|
r91684
|
r91685
>
Date:
20:54, 7 July 2011
Author:
hartman
Status:
ok
Tags:
Comment:
One more fix for the for in loops.
Follow up to
r91347
Modified paths:
/trunk/extensions/WikiEditor/modules/jquery.wikiEditor.toolbar.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/WikiEditor/modules/jquery.wikiEditor.toolbar.js
—
—
@@ -107,7 +107,7 @@
108
108
'div[rel="' + data.section + '"].section ' + 'div[rel="' + data.page + '"].page div'
109
109
);
110
110
var actions = $characters.data( 'actions' );
111
- for ( i = 0; data.character.length; i++ ) {
111
+ for ( i = 0; i < data.characters.length; i++ ) {
112
112
// Character
113
113
$characters
114
114
.append(
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r91347
Correct for in loops on arrays....
hartman
09:09, 2 July 2011
Status & tagging log
16:32, 12 July 2011
Catrope
(
talk
|
contribs
)
changed the
status
of r91684
[
removed:
new
added:
ok]