r87070 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87069‎ | r87070 | r87071 >
Date:13:08, 28 April 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
small js fix
Modified paths:
  • /trunk/extensions/LiveTranslate/RELEASE-NOTES (modified) (history)
  • /trunk/extensions/LiveTranslate/includes/ext.livetranslate.js (modified) (history)

Diff [purge]

Index: trunk/extensions/LiveTranslate/RELEASE-NOTES
@@ -8,7 +8,7 @@
99 2011-04-21
1010
1111 * Added settings to specify per-namespace if the translation control should be shown or not.
12 -* Use of FormatJson::encode instead of josn_encode for compatibility with PHP5 < 5.2.
 12+* Use of FormatJson::encode instead of json_encode for compatibility with PHP5 < 5.2.
1313
1414 === Version 0.5 ===
1515 2011-01-16
Index: trunk/extensions/LiveTranslate/includes/ext.livetranslate.js
@@ -344,7 +344,7 @@
345345
346346 if ( untranslatedsentences.length == 0 ) {
347347 // If the current chunk was smaller then the max size, node translation is complete, so update text.
348 - textAreaElement.innerHTML = chunks.join(); // This is a hack to decode quotes.
 348+ textAreaElement.innerHTML = chunks.join( '' ); // This is a hack to decode quotes.
349349 element.replaceData( 0, element.length, textAreaElement.value );
350350 handleTranslationCompletion( targetLang );
351351 }

Status & tagging log