HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: nexper (1054)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nexper/public_html/sites/all/modules/media/js/plugins/media.upload_multiple.js
Drupal.behaviors.mediaUploadMultiple = {};

Drupal.behaviors.mediaUploadMultiple.attach = function (context, settings) {
  // When the plupload element initializes, it expands the size of the elements
  // it has created, so we need to resize the browser iframe after it's done.
  var uploader = jQuery('#edit-upload').pluploadQueue();
  if (uploader) {
    // Handle the case in which the uploader has already finished initializing.
    Drupal.media.browser.resizeIframe();
    // Handle the case in which the uploader has not yet initialized.
    uploader.bind("PostInit", Drupal.media.browser.resizeIframe);

    uploader.bind('StateChanged', Drupal.behaviors.mediaUploadMultiple.submit);
  }
};

Drupal.behaviors.mediaUploadMultiple.submit = function (uploader, file) {
  if (uploader.state == 2) {
    jQuery('#media-add-upload-multiple .form-submit').val(Drupal.t('Loading...'));
  }
};