r78303 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78302‎ | r78303 | r78304 >
Date:15:01, 13 December 2010
Author:yaron
Status:deferred
Tags:
Comment:
Added setting of actual current value for textareas with autocomplete - apparently this wasn't being done for a long time...
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormInputs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormInputs.php
@@ -496,7 +496,7 @@
497497 $textarea_attrs['onKeyDown'] = $maxLengthJSCheck;
498498 $textarea_attrs['onKeyUp'] = $maxLengthJSCheck;
499499 }
500 - $textarea_input = Xml::element('textarea', $textarea_attrs, '', false);
 500+ $textarea_input = Xml::element('textarea', $textarea_attrs, $cur_value, false);
501501 $text .= $textarea_input;
502502 } else {
503503 if ( array_key_exists( 'size', $other_args ) )

Status & tagging log