Index: trunk/extensions/Translate/utils/TranslationHelpers.php |
— | — | @@ -983,7 +983,7 @@ |
984 | 984 | $target = self::jQueryPathId( $this->getTextareaId() ); |
985 | 985 | $source = self::jQueryPathId( $source ); |
986 | 986 | $params = array( |
987 | | - 'onclick' => "jQuery($target).val($source).text()).focus(); return false;", |
| 987 | + 'onclick' => "jQuery($target).val(jQuery($source).text()).focus(); return false;", |
988 | 988 | 'href' => '#', |
989 | 989 | 'title' => wfMsg( 'translate-use-suggestion' ) |
990 | 990 | ); |