r63581 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63580‎ | r63581 | r63582 >
Date:03:29, 11 March 2010
Author:neilk
Status:deferred
Tags:
Comment:
removed line which caused all data-based jquery autocompletes to fail
Modified paths:
  • /branches/js2-work/phase3/js/mwEmbed/jquery/plugins/jquery.autocomplete.js (modified) (history)

Diff [purge]

Index: branches/js2-work/phase3/js/mwEmbed/jquery/plugins/jquery.autocomplete.js
@@ -337,8 +337,7 @@
338338
339339 function requestData(q) {
340340 if (!options.matchCase) q = q.toLowerCase();
341 - //var data = options.cacheLength ? loadFromCache(q) : null;
342 - var data=null;
 341+ var data = options.cacheLength ? loadFromCache(q) : null;
343342 // recieve the cached data
344343 if (data) {
345344 receiveData(q, data);

Status & tagging log