[TYPO3-50-general] Javascript in plugin template load double time

Piseth Sok piseth at web-essentials.asia
Mon Feb 18 10:32:03 CET 2013

Hi Christian,

It is plugin. and the javascript load two times.
Here is the template:
<f:layout name="default" />
<f:section name="Title"></f:section>
<f:section name="Content">
	<div id="map_canvas_big_map"></div>
	<div id="map_option">
		<div class="map_status">
				<f:for each="{statuses}" as="status">
		<div class="map_region" style="width:200px; height: 180px; overflow: 
auto;padding-left: 10px;">
				<f:for each="{regions}" as="region">
					<li><a class="region" href="#" 
	<div class="map_zoom_control">
		<span class="map_zoom_in"></span>
		<span class="map_zoom_out"></span>
	<script type="text/javascript">
	jQuery(document).ready(function() {

On 02/18/2013 02:37 PM, Christian Müller wrote:
> Hi Piseth,
> it is in a Plugin? Not in an HTML Content element. We know of a problem
> with JavaScript inside HTML content that is executed (again) when the
> editor loads but not for plugins. Can you share the plugin template?
> Cheers,
> Christian
> On 15.02.13 04:08, Piseth Sok wrote:
>> Hi List,
>> I have met one problem javascript load double time when we use
>> javascript within the template file of our plugin.
>> Any ideas?
>> Thnaks,
>> Piseth

More information about the TYPO3-project-5_0-general mailing list