From 4635711f1ca2a66a120e07169e8e8d5b0b4ed539 Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Mon, 26 Sep 2016 09:57:15 -0300 Subject: [PATCH] Fix #603 --- sapl/static/js/app.js | 4 +++- sapl/templates/sessao/expediente.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sapl/static/js/app.js b/sapl/static/js/app.js index 127bf2b86..b9d4d08f8 100644 --- a/sapl/static/js/app.js +++ b/sapl/static/js/app.js @@ -13,7 +13,9 @@ function initTinymce(elements, readonly=false) { } if (readonly) { - config_tinymce.readonly = 1 + config_tinymce.readonly = 1, + config_tinymce.menubar = false, + config_tinymce.toolbar = false } if (elements != null) { diff --git a/sapl/templates/sessao/expediente.html b/sapl/templates/sessao/expediente.html index 66aacb226..981b71cd8 100644 --- a/sapl/templates/sessao/expediente.html +++ b/sapl/templates/sessao/expediente.html @@ -35,7 +35,7 @@ {% endif %} {% endblock detail_content %} - + {% block extra_js %} {% if perms|get_add_perm:view %}