ddd
Showing
1 changed file
with
7 additions
and
2 deletions
| 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 | ... | ... |
-
Please register or sign in to post a comment