c98817a3 by Jeff Balicki

dd

1 parent ff369dbb
...@@ -139,7 +139,7 @@ function getInputFormValues($validation, $name) ...@@ -139,7 +139,7 @@ function getInputFormValues($validation, $name)
139 <td>Text Version</td> 139 <td>Text Version</td>
140 <td> 140 <td>
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 name="<?php echo $lang; ?>_text" class="wide-input-field text_verson" rows="10" style="width: 100%;"><?php echo getInputFormValues($validation, $lang . '_text'); ?>
142 </textarea><?php echo $validation->form_error($lang . '_text'); ?> 142 </textarea><?php echo $validation->form_error($lang . '_text'); ?>
143 </td> 143 </td>
144 </tr> 144 </tr>
145 <tr> 145 <tr>
...@@ -294,39 +294,37 @@ function getInputFormValues($validation, $name) ...@@ -294,39 +294,37 @@ function getInputFormValues($validation, $name)
294 if (!codeCleaned) { 294 if (!codeCleaned) {
295 295
296 e.preventDefault(); 296 e.preventDefault();
297
297 $('#fr_html_ifr').contents().find('table').each(function() { 298 $('#fr_html_ifr').contents().find('table').each(function() {
298 $(this).removeAttr('style'); 299 $(this).removeAttr('style');
299 }); 300 });
301
300 $('#fr_html_ifr').contents().find('td').each(function() { 302 $('#fr_html_ifr').contents().find('td').each(function() {
301 $(this).removeAttr('style'); 303 $(this).removeAttr('style');
302 }); 304 });
303 e.preventDefault(); 305
304 $('#en_html_ifr').contents().find('table').each(function() { 306 $('#en_html_ifr').contents().find('table').each(function() {
305 $(this).removeAttr('style'); 307 $(this).removeAttr('style');
306 }); 308 });
309
307 $('#en_html_ifr').contents().find('td').each(function() { 310 $('#en_html_ifr').contents().find('td').each(function() {
308 $(this).removeAttr('style'); 311 $(this).removeAttr('style');
309 }); 312 });
310 313
311
312 $('#fr_html_ifr').contents().find('td:last-child').each(function() { 314 $('#fr_html_ifr').contents().find('td:last-child').each(function() {
313 $(this).addClass('tdlast-child'); 315 $(this).addClass('tdlast-child');
314
315 }); 316 });
316 317
317 $('#fr_html_ifr').contents().find('tr:last-child').each(function() { 318 $('#fr_html_ifr').contents().find('tr:last-child').each(function() {
318 $(this).addClass('trlast-child'); 319 $(this).addClass('trlast-child');
319
320 }); 320 });
321 321
322 $('#en_html_ifr').contents().find('td:last-child').each(function() { 322 $('#en_html_ifr').contents().find('td:last-child').each(function() {
323 $(this).addClass('tdlast-child'); 323 $(this).addClass('tdlast-child');
324
325 }); 324 });
326 325
327 $('#en_html_ifr').contents().find('tr:last-child').each(function() { 326 $('#en_html_ifr').contents().find('tr:last-child').each(function() {
328 $(this).addClass('trlast-child'); 327 $(this).addClass('trlast-child');
329
330 }); 328 });
331 329
332 codeCleaned = true; 330 codeCleaned = true;
......