Index: l10n_client.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_client/Attic/l10n_client.js,v
retrieving revision 1.10.2.4
diff -u -p -r1.10.2.4 l10n_client.js
--- l10n_client.js	20 Apr 2010 14:23:58 -0000	1.10.2.4
+++ l10n_client.js	20 Apr 2010 21:49:06 -0000
@@ -110,7 +110,7 @@ Drupal.behaviors.l10nClient = function (
     var index = $('#l10n-client-string-select li').index(this);
 
     $('#l10n-client-string-editor .source-text').text(Drupal.l10nClient.getString(index, 'source'));
-    $('#l10n-client-form #edit-target').val(Drupal.l10nClient.getString(index, 'target'));
+    $('#l10n-client-form .translation-target').val(Drupal.l10nClient.getString(index, 'target'));
     $('#l10n-client-form #edit-textgroup').val(Drupal.l10nClient.getString(index, 'textgroup'));
     Drupal.l10nClient.selected = index;
     $('#l10n-client-form .form-submit').removeAttr("disabled");
@@ -127,12 +127,12 @@ Drupal.behaviors.l10nClient = function (
 
   // Copy source text to translation field on button click.
   $('#l10n-client-form #edit-copy').click(function() {
-    $('#l10n-client-form #edit-target').val($('#l10n-client-string-editor .source-text').text());
+    $('#l10n-client-form .translation-target').val($('#l10n-client-string-editor .source-text').text());
   });
 
   // Clear translation field on button click.
   $('#l10n-client-form #edit-clear').click(function() {
-    $('#l10n-client-form #edit-target').val('');
+    $('#l10n-client-form .translation-target').val('');
   });
 
   // Register keybindings using jQuery hotkeys
@@ -160,16 +160,16 @@ Drupal.behaviors.l10nClient = function (
       // Send source and target strings.
       data: {
         source: $('#l10n-client-string-editor .source-text').text(),
-        target: $('#l10n-client-form #edit-target').val(),
+        target: $('#l10n-client-form .translation-target').val(),
         textgroup: $('#l10n-client-form #edit-textgroup').val(),
         'form_token': $('#l10n-client-form #edit-l10n-client-form-form-token').val()
       },
       success: function (data) {
         // Store string in local js
-        Drupal.l10nClient.setString(Drupal.l10nClient.selected, $('#l10n-client-form #edit-target').val());
+        Drupal.l10nClient.setString(Drupal.l10nClient.selected, $('#l10n-client-form .translation-target').val());
 
         // Figure out the display of the new translation in the selection list.
-        var newTranslation = $('#l10n-client-form #edit-target').val();
+        var newTranslation = $('#l10n-client-form .translation-target').val();
         var newTranslationDisplay = newTranslation;
         var newTranslationStripped = newTranslation.replace(/<\/?[^<>]+>/gi, '')
                                                    .replace(/&quot;/g, '"')
@@ -193,7 +193,7 @@ Drupal.behaviors.l10nClient = function (
 
         // Empty input fields.
         $('#l10n-client-string-editor .source-text').html('');
-        $('#l10n-client-form #edit-target').val('');
+        $('#l10n-client-form .translation-target').val('');
 
       },
       error: function (xmlhttp) {
Index: l10n_client.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_client/Attic/l10n_client.module,v
retrieving revision 1.22.2.4
diff -u -p -r1.22.2.4 l10n_client.module
--- l10n_client.module	20 Apr 2010 14:11:01 -0000	1.22.2.4
+++ l10n_client.module	20 Apr 2010 21:49:06 -0000
@@ -373,6 +373,7 @@ function l10n_client_form($form_id, $str
     '#type' => 'textarea',
     '#resizable' => false,
     '#rows' => 6,
+    '#attributes' => array('class' => 'translation-target'),
   );
   $form['save'] = array(
     '#value' => t('Save translation'),
