Mercurial > defr > drupal > scald > mee
diff mee.js @ 19:75106ee96c1e
Library: Deals with <img /> that aren't linked to atoms
| author | Franck Deroche <defr@ows.fr> |
|---|---|
| date | Wed, 25 Nov 2009 15:51:40 +0000 |
| parents | 50a57b1517cb |
| children |
line wrap: on
line diff
--- a/mee.js Fri Nov 20 11:03:08 2009 +0000 +++ b/mee.js Wed Nov 25 15:51:40 2009 +0000 @@ -21,6 +21,7 @@ .unbind('dnd_drop') .bind('dnd_drop', function(e, data) { var rep = Drupal.settings.dndEditorRepresentations[data.representation_id]; + if (!rep) return; $(this) .parents('div.mee-wrap-editor-library.mee-processed') .find('table.mee-ressource-manager')
