[FIX] don't close editor dialogs on click *around* the dialog

APR double-clicks images in the image sub-popup (browse existing), if
an image on a side (outside the initial dialog's rect) is picked the
first click will select it and close the dialog, and the second one
will land on the base dialog's backdrop, cancelling & closing it.

bzr revid: xmo@openerp.com-20131014100944-3xtbiyj063fmzhko
This commit is contained in:
Xavier Morel
2013-10-14 12:09:44 +02:00
parent 804f879518
commit c81bf938cf
@@ -483,7 +483,7 @@
},
start: function () {
var sup = this._super();
this.$el.modal();
this.$el.modal({backdrop: 'static'});
return sup;
},
save: function () {