I'm developing an OTRS 3.3.x extension and want to use a custom javascript similar to the searchboxes (like ticketsearch). So I took a fairly simple javascript (CustomerInformationCenterSearch) and copied it, changed the filename and namespace name and read http://otrs.github.io/doc/manual/develo ... tml#loader about putting it in the common files. So I have my js file in <OTRS ROOT>/var/httpd/htdocs/js/ and added this to my extension's xml file:
Code: Select all
<ConfigItem Name="Loader::Agent::CommonJS###100-SpecialismList" Required="1" Valid="1">
<Description Translatable="1">List of JS files to always be loaded for the agent interface for package "SpecialismList".</Description>
<Group>Framework</Group>
<SubGroup>Core::Web</SubGroup>
<Setting>
<Array>
<Item>SpecialismList.Agent.Edit.js</Item>
</Array>
</Setting>
</ConfigItem>
Whenever I click the menu item, nothing happens, not even an error message in my syslog or apache's error.log. Do you have any idea why this is not working and is my assumption correct that my javascript should end up in the CommonJS file? Any thoughts on how to get this working or what might be wrong?
Regards.