Resetting the form does not work
-
Hi Patrick,
Resetting the form on the event page does not work. Autooptimize ist disabled
(EM-OSM Version: 1.8.5.1).
When you click on the link, the focus jumps upwards.
Javascript exists in the source text, but it does not work:<td colspan="2"> <em id="em-location-search-tip" style="display: none;"></em> <em id="em-location-reset" style="">Gespeicherte Veranstaltungsorte k?nnen hier nicht bearbeitet werden.<br><a href="#">Setze das Formular zurück, um einen Ort anzulegen oder suche erneut.</a></em> </td> </tr> <!-- Show/hide the Search Address button --> <script type="text/javascript"> jQuery(document).ready(function($){ if( jQuery('#location-name').is('[readonly]') ) { jQuery('#osm-button').css("display", "none"); } $('#location-name').change(function(){ if( jQuery('#location-name').is('[readonly]') ) { jQuery('#osm-button').css("display", "none"); } else { jQuery('#osm-button').css("display", ""); } }); }).trigger('change'); jQuery('#em-location-reset a').click( function(){ $('#osm-button').show(); }); </script>
What should I do?
Best regards
FrankThe page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Resetting the form does not work’ is closed to new replies.