X7ROOT File Manager
Current Path:
/home/notabjze/narcev.com/media/com_cpanel/js
home
/
notabjze
/
narcev.com
/
media
/
com_cpanel
/
js
/
ðŸ“
..
📄
admin-add_module-es5.js
(2.49 KB)
📄
admin-add_module-es5.min.js
(1.03 KB)
📄
admin-add_module-es5.min.js.gz
(459 B)
📄
admin-add_module.js
(2.26 KB)
📄
admin-add_module.min.js
(956 B)
📄
admin-add_module.min.js.gz
(440 B)
📄
admin-cpanel-default-es5.js
(4.53 KB)
📄
admin-cpanel-default-es5.min.js
(1.95 KB)
📄
admin-cpanel-default-es5.min.js.gz
(946 B)
📄
admin-cpanel-default.js
(3.72 KB)
📄
admin-cpanel-default.min.js
(1.71 KB)
📄
admin-cpanel-default.min.js.gz
(851 B)
📄
admin-system-loader-es5.js
(2.47 KB)
📄
admin-system-loader-es5.min.js
(1.1 KB)
📄
admin-system-loader-es5.min.js.gz
(520 B)
📄
admin-system-loader.js
(2.27 KB)
📄
admin-system-loader.min.js
(1.04 KB)
📄
admin-system-loader.min.js.gz
(502 B)
Editing: admin-cpanel-default.min.js
const debounce=(e,t=250,i)=>(...o)=>clearTimeout(i,i=setTimeout(e,t,...o));((e,t,i)=>{i.unpublishModule=e=>{const t=e.getAttribute("data-module-id");i.request({url:`index.php?option=com_modules&task=modules.unpublish&format=json&cid=${t}`,method:"POST",headers:{"Content-Type":"application/json"},onSuccess:()=>{const t=e.closest(".module-wrapper");t.parentNode.removeChild(t),i.renderMessages({message:[i.Text._("COM_CPANEL_UNPUBLISH_MODULE_SUCCESS")]})},onError:()=>{i.renderMessages({error:[i.Text._("COM_CPANEL_UNPUBLISH_MODULE_ERROR")]})}})};const o=()=>{const e=t.getElementById("content");if(e){[].slice.call(e.querySelectorAll(".unpublish-module")).forEach((e=>{e.addEventListener("click",(({target:e})=>i.unpublishModule(e)))}))}t.removeEventListener("DOMContentLoaded",o)};t.addEventListener("DOMContentLoaded",o);({$gridBox:null,gridAutoRows:0,gridRowGap:10,resizeGridItem(e,t,i){const o=e.querySelector(".card");if(o){const s=o.getBoundingClientRect().height+i,r=Math.ceil(s/(t+i));e.style.gridRowEnd=`span ${r}`}},resizeAllGridItems(){[].slice.call(this.$gridBox.children).forEach((e=>{this.resizeGridItem(e,this.gridAutoRows,this.gridRowGap)}))},initialise(){this.$gridBox=t.querySelector("#cpanel-modules .card-columns");const i=e.getComputedStyle(this.$gridBox);this.gridAutoRows=parseInt(i.getPropertyValue("grid-auto-rows"),10)||this.gridAutoRows,this.gridRowGap=parseInt(i.getPropertyValue("grid-row-gap"),10)||this.gridRowGap,this.resizeAllGridItems(),e.addEventListener("load",(()=>this.resizeAllGridItems())),e.addEventListener("joomla:menu-toggle",(()=>{setTimeout((()=>this.resizeAllGridItems()),330)})),e.addEventListener("resize",debounce((()=>this.resizeAllGridItems()),50))}}).initialise()})(window,document,window.Joomla);
Upload File
Create Folder