Files
liceo-ariosto/media/com_fields/js/admin-field-changecontext.min.js
2025-06-17 11:53:18 +02:00

1 line
184 B
JavaScript

Joomla.fieldsChangeContext=e=>{const o=window.location.href.replace(/([?;&])context[^&;]*[;&]?/,"$1").replace(/&$/,"");window.location.href=(o.length>2?o+"&":"?")+(e?"context="+e:"")};