# HG changeset patch # User Franck Deroche # Date 1279628401 -7200 # Node ID 482aa897174315c7b21092777a0fd88dc2d5dbe8 # Parent 5cf2b262b9e43f356ae5871a051652597762d66e Add all the body classes to the RTE iframe diff -r 5cf2b262b9e4 -r 482aa8971743 js/dnd-library.js --- a/js/dnd-library.js Tue Jul 20 14:19:32 2010 +0200 +++ b/js/dnd-library.js Tue Jul 20 14:20:01 2010 +0200 @@ -251,6 +251,7 @@ Drupal.behaviors.dndLibrary.countElements(target, $(data.node).attr('dnd_id'), true); }); $('head', $(this).contents()).append(''); + $('body', $(this).contents()).addClass($('body').attr('class')); return this; }); },