[IMP] add img-responsive to images generated via dialog

avoids having the image end up larger than its container

bzr revid: xmo@openerp.com-20131119131113-9010p4tubk1yz10s
This commit is contained in:
Xavier Morel
2013-11-19 14:11:13 +01:00
parent ba2ee4e287
commit b6be7b87c6
@@ -1195,6 +1195,7 @@
if (!(element = this.element)) {
element = editor.document.createElement('img');
element.addClass('img');
element.addClass('img-responsive');
// 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 =>