[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 Joomla.fieldsChangeContext = context => { 2 3 const regex = /([?;&])context[^&;]*[;&]?/; 4 const url = window.location.href; 5 const query = url.replace(regex, '$1').replace(/&$/, ''); // eslint-disable-next-line 6 7 window.location.href = (query.length > 2 ? query + '&' : '?') + (context ? 'context=' + context : ''); 8 };
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |