Warning: preg_replace() [function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/iselsker.dk/public_html/loebe/libraries/joomla/filter/input.php on line 689
Warning: Cannot modify header information - headers already sent by (output started at /var/www/iselsker.dk/public_html/loebe/libraries/joomla/filter/input.php:689) in /var/www/iselsker.dk/public_html/loebe/libraries/foxcontact/loader/loader.php on line 34
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":'Cancel',
"COM_FOXCONTACT_BROWSE_FILES":'Browse files',
"COM_FOXCONTACT_FAILED":'Failed',
"COM_FOXCONTACT_SUCCESS":'Success',
"COM_FOXCONTACT_NO_RESULTS_MATCH":'No results match',
"COM_FOXCONTACT_REMOVE_ALT":'Remove',
"COM_FOXCONTACT_REMOVE_TITLE":'Remove this file'
}
);
})();
window.addEvent('domready', function ()
{
$$(".fox_select").chosen(
{
disable_search_threshold:10,
allow_single_deselect:true,
no_results_text: Fox.Text.get('COM_FOXCONTACT_NO_RESULTS_MATCH')
});
});
// Called by the Reset button
function ResetFoxControls()
{
// Reset each dropdown to its first value
$$(".fox_select").each(
function (value, index)
{
// Search for the first option, select it and force a refresh
$(value).selectedIndex = 0;
// Equivalent code
//$(value)[0].set("selected", "selected");
$(value).fireEvent('liszt:updated');
});
}