From 9a1fd7c940a64055d8435f9c7bc7d4f07ddbd3bf Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Mon, 21 Nov 2016 12:51:01 +0100 Subject: [FIX] website: fix opening of the SelectEditMenuDialog When on a page event for example, when the user choose "Edit menu", a modal is first opened to ask which menu to edit (the top menu or the event menu ?). This feature was broken with a web_editor refactoring. Indeed, the dialog was converted to use the standard dialog class but the widget was still inserted in the DOM thanks to "appendTo" instead of the modal built-in "open" method, preventing it to be properly opened. --- addons/website/static/src/xml/website.contentMenu.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'addons/website/static/src/xml/website.contentMenu.xml') diff --git a/addons/website/static/src/xml/website.contentMenu.xml b/addons/website/static/src/xml/website.contentMenu.xml index 1d20236386c..861305396f5 100644 --- a/addons/website/static/src/xml/website.contentMenu.xml +++ b/addons/website/static/src/xml/website.contentMenu.xml @@ -22,11 +22,13 @@ - +
+ +