From c81bf938cf5c03901f9019feb5bc01a460792d02 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Mon, 14 Oct 2013 12:09:44 +0200 Subject: [PATCH] [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 --- addons/website/static/src/js/website.editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js index ffb0f9b86a3..81fe087a59e 100644 --- a/addons/website/static/src/js/website.editor.js +++ b/addons/website/static/src/js/website.editor.js @@ -483,7 +483,7 @@ }, start: function () { var sup = this._super(); - this.$el.modal(); + this.$el.modal({backdrop: 'static'}); return sup; }, save: function () {