From 2e9374d00a2f4584332344fbefc1e25483a84e36 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 19 Aug 2016 16:11:03 -0700 Subject: [IMP] mrp: App MRP --> Manufacturing (consistency between app and menu) [IMP] website: better dialog when clicking on a menu in edit mode (less options is easier) --- addons/website/static/src/js/website.snippets.editor.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'addons/website/static/src/js/website.snippets.editor.js') diff --git a/addons/website/static/src/js/website.snippets.editor.js b/addons/website/static/src/js/website.snippets.editor.js index bc2dbf3b658..fdbf4e2282a 100644 --- a/addons/website/static/src/js/website.snippets.editor.js +++ b/addons/website/static/src/js/website.snippets.editor.js @@ -31,9 +31,8 @@ options.registry.menu_data = options.Class.extend({ title: _t("Confirmation"), $content: $(core.qweb.render("website.leaving_current_page_edition")), buttons: [ - {text: _t("Continue") + " *", classes: "btn-primary", click: save_editor_then_go_to.bind(null, this.link)}, - {text: _t("Continue & Edit") + " *", classes: "btn-primary", click: save_editor_then_go_to.bind(null, this.link + "?enable_editor=1")}, - {text: _t("Edit the menu") + " *", classes: "btn-primary", click: function () { + {text: _t("Go to Link"), classes: "btn-primary", click: save_editor_then_go_to.bind(null, this.link)}, + {text: _t("Edit the menu"), classes: "btn-primary", click: function () { var self = this; website.topBar.content_menu.edit_menu(function () { return editor.editor_bar.save_without_reload(); -- cgit v1.2.3