summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-10-14 12:09:44 +0200
committerXavier Morel <xmo@openerp.com>2013-10-14 12:09:44 +0200
commitc81bf938cf5c03901f9019feb5bc01a460792d02 (patch)
tree6e32c977563bed3bba3d5d8be747a6df6891d57e /addons/website/static/src
parent804f87951802d0d28d548e242f9b6885a7f1cdfa (diff)
[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
Diffstat (limited to 'addons/website/static/src')
-rw-r--r--addons/website/static/src/js/website.editor.js2
1 files changed, 1 insertions, 1 deletions
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 () {