c98817a3 by Jeff Balicki

dd

1 parent ff369dbb
......@@ -139,7 +139,7 @@ function getInputFormValues($validation, $name)
<td>Text Version</td>
<td>
<textarea name="<?php echo $lang; ?>_text" class="wide-input-field text_verson" rows="10" style="width: 100%;"><?php echo getInputFormValues($validation, $lang . '_text'); ?>
</textarea><?php echo $validation->form_error($lang . '_text'); ?>
</textarea><?php echo $validation->form_error($lang . '_text'); ?>
</td>
</tr>
<tr>
......@@ -294,39 +294,37 @@ function getInputFormValues($validation, $name)
if (!codeCleaned) {
e.preventDefault();
$('#fr_html_ifr').contents().find('table').each(function() {
$(this).removeAttr('style');
});
$('#fr_html_ifr').contents().find('td').each(function() {
$(this).removeAttr('style');
});
e.preventDefault();
$('#en_html_ifr').contents().find('table').each(function() {
$(this).removeAttr('style');
});
$('#en_html_ifr').contents().find('td').each(function() {
$(this).removeAttr('style');
});
$('#fr_html_ifr').contents().find('td:last-child').each(function() {
$(this).addClass('tdlast-child');
});
$('#fr_html_ifr').contents().find('tr:last-child').each(function() {
$(this).addClass('trlast-child');
});
$('#en_html_ifr').contents().find('td:last-child').each(function() {
$(this).addClass('tdlast-child');
});
$('#en_html_ifr').contents().find('tr:last-child').each(function() {
$(this).addClass('trlast-child');
});
codeCleaned = true;
......