8c9e7578 by Jeff Balicki

outlook fix

1 parent 26bb6a8a
...@@ -309,13 +309,34 @@ endforeach; ...@@ -309,13 +309,34 @@ endforeach;
309 309
310 310
311 $("#notifications-create-new").on("submit", function(e) { 311 $("#notifications-create-new").on("submit", function(e) {
312
312 if (!codeCleaned) { 313 if (!codeCleaned) {
313 314
314 e.preventDefault(); 315 e.preventDefault();
315 316
317 $('#fr_html_ifr').contents().find('tr').each(function() {
318 $(this).removeAttr('style');
319 });
316 320
321 $('#en_html_ifr').contents().find('tr').each(function() {
322 $(this).removeAttr('style');
323 });
317 324
325 $('#fr_html_ifr').contents().find('table').each(function() {
326 $(this).removeAttr('style');
327 });
318 328
329 $('#en_html_ifr').contents().find('table').each(function() {
330 $(this).removeAttr('style');
331 });
332
333 $('#fr_html_ifr').contents().find('td').each(function() {
334 $(this).removeAttr('style');
335 });
336
337 $('#en_html_ifr').contents().find('td').each(function() {
338 $(this).removeAttr('style');
339 });
319 340
320 codeCleaned = true; 341 codeCleaned = true;
321 $(this).trigger('submit'); 342 $(this).trigger('submit');
......