r76183 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76182‎ | r76183 | r76184 >
Date:08:57, 6 November 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Fix js error introduced in r76102
Modified paths:
  • /trunk/extensions/Translate/utils/TranslationHelpers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslationHelpers.php
@@ -983,7 +983,7 @@
984984 $target = self::jQueryPathId( $this->getTextareaId() );
985985 $source = self::jQueryPathId( $source );
986986 $params = array(
987 - 'onclick' => "jQuery($target).val($source).text()).focus(); return false;",
 987+ 'onclick' => "jQuery($target).val(jQuery($source).text()).focus(); return false;",
988988 'href' => '#',
989989 'title' => wfMsg( 'translate-use-suggestion' )
990990 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76102Cleanup javascript code a littlenikerabbit15:07, 5 November 2010

Status & tagging log