r61050 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61049‎ | r61050 | r61051 >
Date:13:30, 14 January 2010
Author:reedy
Status:ok (Comments)
Tags:
Comment:
Fix bug 22098 Missing "var" in jquery.suggestions.js
Modified paths:
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.suggestions.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.suggestions.js
@@ -283,7 +283,7 @@
284284 if ( args.length > 0 ) {
285285 if ( typeof args[0] == 'object' ) {
286286 // Apply set of properties
287 - for ( key in args[0] ) {
 287+ for ( var key in args[0] ) {
288288 $.suggestions.configure( context, key, args[0][key] );
289289 }
290290 } else if ( typeof args[0] == 'string' ) {

Comments

#Comment by Reedy (talk | contribs)   13:36, 14 January 2010

fixes up r60792

Status & tagging log