summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.snippets.editor.js
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@openerp.com>2016-08-19 16:11:03 -0700
committerFabien Pinckaers <fp@openerp.com>2016-08-19 16:11:03 -0700
commit2e9374d00a2f4584332344fbefc1e25483a84e36 (patch)
tree97a9747ee74fff1fbd3c4274f9f5f3eace9992cd /addons/website/static/src/js/website.snippets.editor.js
parentffa998d64cf918d126e0b153fa5de545fcc8d8a3 (diff)
[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)
Diffstat (limited to 'addons/website/static/src/js/website.snippets.editor.js')
-rw-r--r--addons/website/static/src/js/website.snippets.editor.js5
1 files changed, 2 insertions, 3 deletions
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();