summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.editor.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2014-04-16 12:59:01 +0200
committerThibault Delavallée <tde@openerp.com>2014-04-16 12:59:01 +0200
commitd264cd164017795cee3a8b463eee318c7dc61552 (patch)
tree6c9bc66bc3c29e41d0c9d1bc4ecf5d2fd3878a7f /addons/website/static/src/js/website.editor.js
parentf9b2b667a0e3ac63aff55f48a98e5b47938c187a (diff)
[IMP] website_mail: make the template / mail editor work. We now have a limited
set of fields that we try to edit (body_html and body for body, email_from and email for email-from, name and subject for subject), because t-field is not dynamic. If the model that should be edited does not hold those fields, the mail editor won't work. Also fixed editor not being actiated when going into the body edition. bzr revid: tde@openerp.com-20140416105901-vavkh9erjsq4mof9
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
-rw-r--r--addons/website/static/src/js/website.editor.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js
index 365b8cf46ea..2119d05f650 100644
--- a/addons/website/static/src/js/website.editor.js
+++ b/addons/website/static/src/js/website.editor.js
@@ -427,6 +427,7 @@
editor.edit();
}
});
+ website.editor_bar = editor;
};
/* ----- TOP EDITOR BAR FOR ADMIN ---- */