5a93a93d by Jeff Balicki

ddd

1 parent d9117136
<?php
use Tz\WordPress\Tools;
use Tz\WordPress\Tools\Notifications;
use Tz\WordPress\Tools\Notifications\Settings;
......@@ -138,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,6 +295,10 @@ function getInputFormValues($validation, $name)
e.preventDefault();
$('td').each(function() {
$(this).removeAttr('style');
});
$('#fr_html_ifr').contents().find('td:last-child').each(function() {
$(this).addClass('tdlast-child');
......@@ -315,7 +320,7 @@ function getInputFormValues($validation, $name)
});
codeCleaned = true;
// $(this).trigger('submit');
$(this).trigger('submit');
}
});
......