[Cartoweb-users] page reload after theme selection (bug)

oliver oliver.christen at camptocamp.com
Wed Mar 8 04:36:48 EST 2006


Hi Emmanuel
with IE you need to attach a onclick event on radiobutton. onchange event 
are bugged and will have weird behaviour. onclick will work fine.

regards
Oliver


> There is a bug with this solution:
>
> with IE6, after selecting the radio button, if you click on "+" to see
> the under-menus, the map will be reloaded for ever... (example today on:
>  http://elections-communales.ch/carto_fr.asp)
>
> best regards,
>
> eb
>
> Emmanuel Belo wrote:
>> Hi Pierre,
>>
>> thank you for your answer,
>>
>> As suggested i added in my layers.tpl in the input tag from my radio
>> button this attribute:
>>
>> onchange="doSubmit();"
>>
>> It works great with FireFox 1.5 but with IE6, after selecting the radio
>> button you need to click anywhere in the page so that it will be
>> reloaded... Strange...
>>
>> regards,
>>
>> eb
>>
>> Pierre GIRAUD wrote:
>>> Try to override the switches.tpl template (coreplugin layers) in your
>>> project with the included file (doSubmit added)
>>>
>>> Regards
>>>
>>> Pierre GIRAUD
>>>
>>> Emmanuel Belo wrote:
>>>
>>>> Hello!
>>>>
>>>> does someone know how to do, so that when you select a new layer in
>>>> the theme menu, the map is automatically reloaded (without the need
>>>> to click on "refresh" button)?
>>>>
>>>> many thanks,
>>>>
>>>> best regards,
>>>>
>>>> eb
>>>>
>>>> _______________________________________________
>>>> Cartoweb-users mailing list
>>>> Cartoweb-users at lists.maptools.org
>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>>
>>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> {t}Switches{/t}
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Cartoweb-users mailing list
>>> Cartoweb-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>


--------------------------------------------------------------------------------


> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list