From: Moritz Bunkus Date: Wed, 5 Nov 2014 08:20:01 +0000 (+0100) Subject: Pflichtenhefte: benötigte Template-Plugins auch laden X-Git-Tag: release-3.2.0beta~266 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5211088f2b53883c7ebec2814afd201ea2b09d70;p=kivitendo-erp.git Pflichtenhefte: benötigte Template-Plugins auch laden --- diff --git a/templates/webpages/requirement_spec_text_block/_predefined_text_inserter.js b/templates/webpages/requirement_spec_text_block/_predefined_text_inserter.js index a80084207..cc1e39886 100644 --- a/templates/webpages/requirement_spec_text_block/_predefined_text_inserter.js +++ b/templates/webpages/requirement_spec_text_block/_predefined_text_inserter.js @@ -1,8 +1,8 @@ -[% USE JavaScript %] +[% USE LxERP %][% USE JavaScript %] function insert_selected_predefined_text() { var data = { [%- FOREACH pt = SELF.predefined_texts %] - [% HTML.escape(pt.id) %]: { + [% JavaScript.escape(pt.id) %]: { title: "[% JavaScript.escape(pt.title) %]", text: "[% JavaScript.escape(pt.text) %]" }[% UNLESS loop.last %],[% END %]