Skip to content

Commit 6f0b909

Browse files
committed
fix wrong templatelistener
1 parent 050e404 commit 6f0b909

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

package.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<packagename language="de">Simple FAQ</packagename>
77
<packagedescription>A simple and powerful FAQ for your WSC.</packagedescription>
88
<packagedescription language="de">Ein simples und leistungsstarkes FAQ für Ihr WSC.</packagedescription>
9-
<version>2.2.0</version>
9+
<version>2.2.1</version>
1010
<date>2024-08-31</date>
1111
</packageinformation>
1212
<authorinformation>
@@ -36,6 +36,9 @@
3636
<instruction type="templateListener"/>
3737
<instruction type="database" run="standalone">acp/database/install_dev.tkirch.wsc.faq.php</instruction>
3838
</instructions>
39+
<instructions type="update" fromversion="2.2.0">
40+
<instruction type="templateListener"/>
41+
</instructions>
3942
<instructions type="update" fromversion="2.1.*">
4043
<instruction type="file"/>
4144
<instruction type="acpTemplate"/>
@@ -45,6 +48,7 @@
4548
<instruction type="acpMenu"/>
4649
<instruction type="option"/>
4750
<instruction type="box"/>
51+
<instruction type="templateListener"/>
4852
<instruction type="fileDelete"/>
4953
</instructions>
5054
</package>

templateListener.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<import>
44
<templatelistener name="faqWysiwygBeforeEditorJavaScript">
55
<environment>user</environment>
6-
<templatename>wysiwyg</templatename>
6+
<templatename>shared_wysiwyg</templatename>
77
<eventname>wysiwyg</eventname>
88
<templatecode><![CDATA[{include file='__faqWysiwygJavaScript'}]]></templatecode>
99
</templatelistener>

0 commit comments

Comments
 (0)