Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion build/build-modules-js/gzip-assets.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const handleFile = (file, enableBrotli) => {
return;
}


if (file.match(/\.min\.js/) && !file.match(/\.min\.js\.gz/) && !file.match(/\.min\.js\.br/) && !file.toLowerCase().match(/json/) && !file.toLowerCase().match(/license/)) {
// eslint-disable-next-line no-console
console.log(`Processing: ${file}`);
Expand Down
1 change: 0 additions & 1 deletion build/build-modules-js/init.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ const recreateMediaFolder = () => {
});
};


module.exports.copyAssets = (options) => {
Promise.resolve()
// Copy a fresh version of the files
Expand Down
4 changes: 0 additions & 4 deletions build/media_source/com_media/js/edit-images.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,11 @@ Joomla.MediaManager = Joomla.MediaManager || {};
content: Joomla.MediaManager.Edit.current.contents.replace(`data:image/${format};base64,`, ''),
};


// eslint-disable-next-line prefer-destructuring
const uploadPath = options.uploadPath;


const url = `${options.apiBaseUrl}&task=api.files&path=${uploadPath}`;


const type = 'application/json';

forUpload[options.csrfToken] = '1';
Expand Down Expand Up @@ -267,7 +264,6 @@ Joomla.MediaManager = Joomla.MediaManager || {};
data = Joomla.MediaManager.Edit.original;
}


// Move the container to the correct tab
const tab = document.getElementById(target.id.replace('tab-', ''));
tab.insertAdjacentElement('afterbegin', container);
Expand Down
1 change: 0 additions & 1 deletion build/media_source/mod_menu/js/admin-menu.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
}
});


/**
* Sidebar Nav
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ tinymce.PluginManager.add('jdragndrop', (editor) => {
return false;
});


// Notify user when file is over the drop area
editor.on('dragover', (e) => {
e.preventDefault();
Expand Down
1 change: 0 additions & 1 deletion build/media_source/plg_system_stats/js/stats.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
toggler.addEventListener('click', onToggle);
}


// Reset the unique id
const reset = document.getElementById(resetId);
if (reset) {
Expand Down
1 change: 0 additions & 1 deletion build/media_source/system/js/core.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ window.Joomla.editors.instances = window.Joomla.editors.instances || {
*/
};


window.Joomla.Modal = window.Joomla.Modal || {
/**
* *****************************************************************
Expand Down
1 change: 0 additions & 1 deletion build/media_source/system/js/showon.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@

const originId = originField.id;


// If checkbox or radio box the value is read from properties
if (originField.getAttribute('type') && ['checkbox', 'radio'].indexOf(originField.getAttribute('type').toLowerCase()) !== -1) {
if (!originField.checked) {
Expand Down