芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/chicxulubpuebloyucatan.gob.mx/media/com_fields/js/admin-field-changecontext-es5.js
(function () { 'use strict'; Joomla.fieldsChangeContext = function (context) { var regex = new RegExp('([?;&])context[^&;]*[;&]?'); var url = window.location.href; var query = url.replace(regex, '$1').replace(/&$/, ''); // eslint-disable-next-line window.location.href = (query.length > 2 ? query + '&' : '?') + (context ? 'context=' + context : ''); }; }());