From eb2709ffc649d65ab97b3c137e9055b8c2921085 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 10 Oct 2013 09:29:19 +0200 Subject: [PATCH] [ADD] apparently I'm supposed to add the img class to images bzr revid: xmo@openerp.com-20131010072919-t1vc7l5t5c3wh9kt --- addons/website/static/src/js/website.editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js index ecb3c6c4d83..d839252bc58 100644 --- a/addons/website/static/src/js/website.editor.js +++ b/addons/website/static/src/js/website.editor.js @@ -799,6 +799,7 @@ var element, editor = this.editor; if (!(element = this.element)) { element = editor.document.createElement('img'); + element.addClass('img'); // focus event handler interactions between bootstrap (modal) // and ckeditor (RTE) lead to blowing the stack in Safari and // Chrome (but not FF) when this is done synchronously =>