r64415 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64414‎ | r64415 | r64416 >
Date:00:35, 31 March 2010
Author:yaron
Status:deferred
Tags:
Comment:
Changed 'block' to 'inline' in functions for "show on select"
Modified paths:
  • /trunk/extensions/SemanticForms/libs/SF_yui_autocompletion.js (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/libs/SF_yui_autocompletion.js
@@ -154,7 +154,7 @@
155155 the_div = document.getElementById(div_id);
156156 for (var i in options_array) {
157157 if (the_input.value == options_array[i]) {
158 - the_div.style.display = 'block';
 158+ the_div.style.display = 'inline';
159159 return;
160160 }
161161 }
@@ -168,7 +168,7 @@
169169 for (var i in checkbox_inputs) {
170170 checkbox = document.getElementById(checkbox_inputs[i]);
171171 if (checkbox.checked) {
172 - the_div.style.display = 'block';
 172+ the_div.style.display = 'inline';
173173 return;
174174 }
175175 }

Status & tagging log