if (typeof Fox == 'undefined') { Fox = {}; Fox.Text = { strings: {}, get: function (key) { return this.strings[key]; }, add: function (object) { for (var key in object) { this.strings[key] = object[key]; } return this; } }; } (function () { Fox.Text.add( { "JCANCEL": 'Abbrechen', "COM_FOXCONTACT_BROWSE_FILES": 'Durchsuchen', "COM_FOXCONTACT_FAILED": 'Fehlgeschlagen', "COM_FOXCONTACT_SUCCESS": 'Erfolgreich', "COM_FOXCONTACT_NO_RESULTS_MATCH": 'Keine Übereinstimmungen', "COM_FOXCONTACT_REMOVE_ALT": 'Entfernen', "COM_FOXCONTACT_REMOVE_TITLE": 'Diese Datei entfernen' } ); })(); jQuery(document).ready(function ($) { jQuery('.fox_select').chosen( { disable_search_threshold: 10, allow_single_deselect: true, no_results_text: 'Keine Übereinstimmungen' }); }); // Called by the Reset button function ResetFoxControls() { // Reset each dropdown to its first value jQuery('select.fox_select').each( function (index, value) { // Search for the first option, select it and force a refresh jQuery(value).find('option:first-child').prop('selected', true).end().trigger('liszt:updated'); }); } /* jQuery(document).ready(function($) { if (document.getElementsByTagName("base").length) { alert('Es wurde eine inkompatible Erweiterung erkannt.'); window.location = "http://www.fox.ra.it/forum/24-troubleshooting/8840-form-doesn-t-send-email-and-redirects-to-a-different-page.html"; } }); */