From fcb82dc5f1cc4c81dabd2f0be318d4774a630e54 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 5 Jun 2014 13:10:48 +0200 Subject: [PATCH] [IMP] add XID to view name in Ace editor dropdown When looking for template bit to override or alter (in-core) through the Ace editor, displaying only the name is a pain: - the name generally sucks diseased donkey balls - having to go through the code to find out what the template's XID is is a waste of time --- addons/website/static/src/js/website.ace.js | 25 ++++++++++----------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/addons/website/static/src/js/website.ace.js b/addons/website/static/src/js/website.ace.js index 27e5cd60e62..e1c45065c33 100644 --- a/addons/website/static/src/js/website.ace.js +++ b/addons/website/static/src/js/website.ace.js @@ -65,12 +65,13 @@ website.ace.ViewOption = openerp.Widget.extend({ template: 'website.ace_view_option', init: function (parent, options) { - var indent = "- "; this.view_id = options.id; this.view_name = options.name; - for (var i = 0; i