e9a3029d by Jeff Balicki

dd

1 parent ae366d9a
...@@ -309,55 +309,9 @@ endforeach; ...@@ -309,55 +309,9 @@ endforeach;
309 309
310 e.preventDefault(); 310 e.preventDefault();
311 311
312 $('#fr_html_ifr').contents().find('img').each(function() {
313 $(this).removeAttr('height');
314 $(this).removeAttr('width');
315 });
316
317 $('#en_html_ifr').contents().find('img').each(function() {
318 $(this).removeAttr('height');
319 $(this).removeAttr('width');
320 });
321
322 $('#fr_html_ifr').contents().find('table').each(function() {
323 $(this).removeAttr('style');
324 });
325
326 $('#fr_html_ifr').contents().find('tr').each(function() {
327 $(this).removeAttr('style');
328 });
329
330 $('#en_html_ifr').contents().find('tr').each(function() {
331 $(this).removeAttr('style');
332 });
333
334 $('#fr_html_ifr').contents().find('td').each(function() {
335 $(this).removeAttr('style');
336 });
337
338 $('#en_html_ifr').contents().find('table').each(function() {
339 $(this).removeAttr('style');
340 });
341
342 $('#en_html_ifr').contents().find('td').each(function() {
343 $(this).removeAttr('style');
344 });
345 312
346 $('#fr_html_ifr').contents().find('td:last-child').each(function() {
347 $(this).addClass('tdlast-child');
348 });
349 313
350 $('#fr_html_ifr').contents().find('tr:last-child').each(function() {
351 $(this).addClass('trlast-child');
352 });
353 314
354 $('#en_html_ifr').contents().find('td:last-child').each(function() {
355 $(this).addClass('tdlast-child');
356 });
357
358 $('#en_html_ifr').contents().find('tr:last-child').each(function() {
359 $(this).addClass('trlast-child');
360 });
361 315
362 codeCleaned = true; 316 codeCleaned = true;
363 $(this).trigger('submit'); 317 $(this).trigger('submit');
......