[ SYSTEM ]: Windows NT SWD-ELEARN-11 10.0 build 20348 (Windows Server 2016) AMD64
[ SERVER ]: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.9 | PHP: 7.3.9
[ USER ]: Elearn | IP: 10.201.204.156
GEFORCE FILE MANAGER
/
C:
/
xampp
/
htdocs
/
Ajaji
/
media
/
com_contenthistory
/
js
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 admin-compare-compare-es5.js
1,630 B
SET
[ EDIT ]
|
[ DEL ]
📄 admin-compare-compare-es5.min.js
928 B
SET
[ EDIT ]
|
[ DEL ]
📄 admin-compare-compare.js
1,461 B
SET
[ EDIT ]
|
[ DEL ]
📄 admin-compare-compare.min.js
855 B
SET
[ EDIT ]
|
[ DEL ]
📄 admin-compare-compare.min.js.gz
512 B
SET
[ EDIT ]
|
[ DEL ]
📄 admin-history-modal-es5.min.js.gz
727 B
SET
[ EDIT ]
|
[ DEL ]
📄 admin-history-modal.js
2,985 B
SET
[ EDIT ]
|
[ DEL ]
📄 admin-history-versions-es5.js
420 B
SET
[ EDIT ]
|
[ DEL ]
📄 admin-history-versions-es5.min.js.gz
266 B
SET
[ EDIT ]
|
[ DEL ]
📄 admin-history-versions.js
357 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: admin-history-modal.js
/** * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ ((document, Joomla) => { if (!Joomla || typeof Joomla.Text._ !== 'function') { throw new Error('core.js was not properly initialised'); } document.addEventListener('DOMContentLoaded', () => { document.getElementById('toolbar-load').addEventListener('click', () => { const toolbarLoad = document.getElementById('toolbar-load'); if (!toolbarLoad.disabled) { const ids = document.querySelectorAll('input[id*="cb"]:checked'); if (ids.length === 1) { // Add version item id to URL const url = `${toolbarLoad.childNodes[1].getAttribute('data-url')}&version_id=${ids[0].value}`; if (window.parent && url) { window.parent.location = url; } } else { Joomla.renderMessages({ error: [Joomla.Text._('COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION')] }); } } return false; }); document.getElementById('toolbar-preview').addEventListener('click', () => { const toolbarPreview = document.getElementById('toolbar-preview'); if (!toolbarPreview.disabled) { const windowSizeArray = ['width=800, height=600, resizable=yes, scrollbars=yes']; const ids = document.querySelectorAll('input[id*="cb"]:checked'); if (ids.length === 1) { // Add version item id to URL const url = `${toolbarPreview.childNodes[1].getAttribute('data-url')}&version_id=${ids[0].value}`; if (window.parent && url) { window.open(url, '', windowSizeArray.toString()); } } else { Joomla.renderMessages({ error: [Joomla.Text._('COM_CONTENTHISTORY_BUTTON_SELECT_ONE_VERSION')] }); } } return false; }); document.getElementById('toolbar-compare').addEventListener('click', () => { const toolbarCompare = document.getElementById('toolbar-compare'); if (!toolbarCompare.disabled) { const windowSizeArray = ['width=1000, height=600, resizable=yes, scrollbars=yes']; const ids = document.querySelectorAll('input[id*="cb"]:checked'); if (ids.length === 0) { Joomla.renderMessages({ error: [Joomla.Text._('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST')] }); } else if (ids.length === 2) { // Add version item ids to URL const url = `${toolbarCompare.childNodes[1].getAttribute('data-url')}&id1=${ids[0].value}&id2=${ids[1].value}`; if (window.parent && url) { window.open(url, '', windowSizeArray.toString()); } } else { Joomla.renderMessages({ error: [Joomla.Text._('COM_CONTENTHISTORY_BUTTON_SELECT_TWO_VERSIONS')] }); } } return false; }); }); })(document, Joomla);