5a93a93d by Jeff Balicki

ddd

1 parent d9117136
1 <?php 1 <?php
2
2 use Tz\WordPress\Tools; 3 use Tz\WordPress\Tools;
3 use Tz\WordPress\Tools\Notifications; 4 use Tz\WordPress\Tools\Notifications;
4 use Tz\WordPress\Tools\Notifications\Settings; 5 use Tz\WordPress\Tools\Notifications\Settings;
...@@ -138,7 +139,7 @@ function getInputFormValues($validation, $name) ...@@ -138,7 +139,7 @@ function getInputFormValues($validation, $name)
138 <td>Text Version</td> 139 <td>Text Version</td>
139 <td> 140 <td>
140 <textarea name="<?php echo $lang; ?>_text" class="wide-input-field text_verson" rows="10" style="width: 100%;"><?php echo getInputFormValues($validation, $lang . '_text'); ?> 141 <textarea name="<?php echo $lang; ?>_text" class="wide-input-field text_verson" rows="10" style="width: 100%;"><?php echo getInputFormValues($validation, $lang . '_text'); ?>
141 </textarea><?php echo $validation->form_error($lang . '_text'); ?> 142 </textarea><?php echo $validation->form_error($lang . '_text'); ?>
142 </td> 143 </td>
143 </tr> 144 </tr>
144 <tr> 145 <tr>
...@@ -294,6 +295,10 @@ function getInputFormValues($validation, $name) ...@@ -294,6 +295,10 @@ function getInputFormValues($validation, $name)
294 295
295 e.preventDefault(); 296 e.preventDefault();
296 297
298 $('td').each(function() {
299 $(this).removeAttr('style');
300 });
301
297 $('#fr_html_ifr').contents().find('td:last-child').each(function() { 302 $('#fr_html_ifr').contents().find('td:last-child').each(function() {
298 $(this).addClass('tdlast-child'); 303 $(this).addClass('tdlast-child');
299 304
...@@ -315,7 +320,7 @@ function getInputFormValues($validation, $name) ...@@ -315,7 +320,7 @@ function getInputFormValues($validation, $name)
315 }); 320 });
316 321
317 codeCleaned = true; 322 codeCleaned = true;
318 // $(this).trigger('submit'); 323 $(this).trigger('submit');
319 } 324 }
320 }); 325 });
321 326
......