CoreFiles by mySites.guru
admin-field-edit-modal-es5.js21 lines, 727 bytes, from Joomla_4.0.0-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 3.10.12-rc1
md5
961a456f79c209713cddc04919c785b5
sha1
ea2a2820b8de93aea8841c9c5ed93e87be2c4a02
sha256
ed0cb6bd78ba8382db0fefdecb0ef2f85ef746399d4767163885ea0bb2f58620
(function () {
  'use strict';

  /**
   * @copyright  (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
   * @license    GNU General Public License version 2 or later; see LICENSE.txt
   */
  (function (Joomla) {
    Joomla.submitbutton = function (task) {
      if (task === 'field.cancel' || document.formvalidator.isValid(document.getElementById('item-form'))) {
        if (window.opener && (task === 'field.save' || task === 'field.cancel')) {
          window.opener.document.closeEditWindow = window.self;
          window.opener.setTimeout('window.document.closeEditWindow.close()', 1000);
        }

        Joomla.submitform(task, document.getElementById('item-form'));
      }
    };
  })(Joomla);

}());

No other release has this exact content. See every version of this file.