r75196 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75195‎ | r75196 | r75197 >
Date:15:44, 22 October 2010
Author:yaron
Status:deferred
Tags:
Comment:
Removed special handling if there are no autocompletion results - display is now always the same
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_AutocompleteAPI.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_AutocompleteAPI.php
@@ -60,9 +60,13 @@
6161 $data = array();
6262 }
6363
 64+ // to prevent JS parsing problems, display should be the same
 65+ // even if there are no results
 66+ /*
6467 if ( count( $data ) <= 0 ) {
6568 return;
6669 }
 70+ */
6771
6872 // Set top-level elements.
6973 $result = $this->getResult();
@@ -161,4 +165,4 @@
162166 return $values;
163167 }
164168
165 -}
\ No newline at end of file
 169+}

Status & tagging log