r77330 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77329‎ | r77330 | r77331 >
Date:14:03, 26 November 2010
Author:catrope
Status:deferred
Tags:
Comment:
Merge r77329 into trunk from 1.16wmf4
Modified paths:
  • /trunk/extensions/Vector/modules/ext.vector.simpleSearch.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Vector/modules/ext.vector.simpleSearch.js
@@ -54,7 +54,9 @@
5555 },
5656 dataType: 'json',
5757 success: function( data ) {
58 - $this.suggestions( 'suggestions', data[1] );
 58+ if ( data && 1 in data ) {
 59+ $this.suggestions( 'suggestions', data[1] );
 60+ }
5961 }
6062 });
6163 $(this).data( 'request', request );
Property changes on: trunk/extensions/Vector/modules/ext.vector.simpleSearch.js
___________________________________________________________________
Added: svn:mergeinfo
6264 Merged /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/Vector/Modules/SimpleSearch/SimpleSearch.js:r77329

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r773291.16wmf4: Attempted fix for bug 25937catrope13:57, 26 November 2010

Status & tagging log