r75356 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75355‎ | r75356 | r75357 >
Date:15:30, 25 October 2010
Author:yaron
Status:deferred
Tags:
Comment:
Oops - fixed major bug in r75200 - regular textareas had their contents blanked
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormInputs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormInputs.php
@@ -649,7 +649,7 @@
650650 $textarea_attrs['onKeyDown'] = "this.value = this.value.substring(0, $maxlength);";
651651 $textarea_attrs['onKeyUp'] = "this.value = this.value.substring(0, $maxlength);";
652652 }
653 - $textarea_input = Xml::element( 'textarea', $textarea_attrs, '', false );
 653+ $textarea_input = Xml::element( 'textarea', $textarea_attrs, $cur_value, false );
654654 $text .= <<<END
655655 $textarea_input
656656 <span id="$info_id" class="errorMessage"></span>

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r75200Simplified Javascript - removed almost all inline Javascript; also made some ...yaron16:24, 22 October 2010

Status & tagging log