X7ROOT File Manager
Current Path:
/home/notabjze/narcev.com/media/com_templates/js
home
/
notabjze
/
narcev.com
/
media
/
com_templates
/
js
/
ðŸ“
..
📄
admin-template-compare-es5.js
(1.89 KB)
📄
admin-template-compare-es5.min.js
(818 B)
📄
admin-template-compare-es5.min.js.gz
(507 B)
📄
admin-template-compare.js
(1.69 KB)
📄
admin-template-compare.min.js
(780 B)
📄
admin-template-compare.min.js.gz
(491 B)
📄
admin-template-toggle-assignment-es5.js
(742 B)
📄
admin-template-toggle-assignment-es5.min.js
(338 B)
📄
admin-template-toggle-assignment-es5.min.js.gz
(206 B)
📄
admin-template-toggle-assignment.js
(631 B)
📄
admin-template-toggle-assignment.min.js
(276 B)
📄
admin-template-toggle-assignment.min.js.gz
(188 B)
📄
admin-template-toggle-switch-es5.js
(3.43 KB)
📄
admin-template-toggle-switch-es5.min.js
(1.76 KB)
📄
admin-template-toggle-switch-es5.min.js.gz
(484 B)
📄
admin-template-toggle-switch.js
(3.16 KB)
📄
admin-template-toggle-switch.min.js
(1.72 KB)
📄
admin-template-toggle-switch.min.js.gz
(467 B)
📄
admin-templates-default-es5.js
(5.05 KB)
📄
admin-templates-default-es5.min.js
(2.62 KB)
📄
admin-templates-default-es5.min.js.gz
(794 B)
📄
admin-templates-default.js
(4.71 KB)
📄
admin-templates-default.min.js
(2.49 KB)
📄
admin-templates-default.min.js.gz
(778 B)
Editing: admin-template-toggle-switch.js
/** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ (() => { const showDiffChangedOff = () => { const diffMain = document.getElementById('diff-main'); if (diffMain) { diffMain.classList.remove('active'); if (typeof Storage !== 'undefined') { localStorage.removeItem('diffSwitchState'); } } }; const showDiffChangedOn = () => { const diffMain = document.getElementById('diff-main'); if (diffMain) { diffMain.classList.add('active'); if (typeof Storage !== 'undefined') { localStorage.setItem('diffSwitchState', 'checked'); } } }; const showCoreChangedOff = () => { const override = document.getElementById('override-pane'); const corePane = document.getElementById('core-pane'); const fieldset = override.parentElement.parentElement; if (corePane && override) { corePane.classList.remove('active'); if (fieldset.classList.contains('options-grid-form-half')) { fieldset.classList.remove('options-grid-form-half'); fieldset.classList.add('options-grid-form-full'); } if (typeof Storage !== 'undefined') { localStorage.removeItem('coreSwitchState'); } } }; const showCoreChangedOn = () => { const override = document.getElementById('override-pane'); const corePane = document.getElementById('core-pane'); const fieldset = override.parentElement.parentElement; if (corePane && override) { corePane.classList.add('active'); if (fieldset.classList.contains('options-grid-form-full')) { fieldset.classList.remove('options-grid-form-full'); fieldset.classList.add('options-grid-form-half'); } if (Joomla.editors.instances.jform_core) { Joomla.editors.instances.jform_core.refresh(); } if (typeof Storage !== 'undefined') { localStorage.setItem('coreSwitchState', 'checked'); } } }; document.addEventListener('DOMContentLoaded', () => { const JformShowDiffOn = document.getElementById('jform_show_diff1'); const JformShowDiffOff = document.getElementById('jform_show_diff0'); const JformShowCoreOn = document.getElementById('jform_show_core1'); const JformShowCoreOff = document.getElementById('jform_show_core0'); if (JformShowDiffOn && JformShowDiffOff) { JformShowDiffOn.addEventListener('click', showDiffChangedOn); JformShowDiffOff.addEventListener('click', showDiffChangedOff); } if (JformShowCoreOn && JformShowCoreOff) { JformShowCoreOn.addEventListener('click', showCoreChangedOn); JformShowCoreOff.addEventListener('click', showCoreChangedOff); } if (typeof Storage !== 'undefined' && localStorage.getItem('coreSwitchState') && JformShowCoreOn) { JformShowCoreOn.checked = true; JformShowCoreOff.checked = false; showCoreChangedOn(); } if (typeof Storage !== 'undefined' && localStorage.getItem('diffSwitchState') && JformShowDiffOn) { JformShowDiffOn.checked = true; JformShowDiffOff.checked = false; showDiffChangedOn(); } }); })();
Upload File
Create Folder