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/www/sites/all/modules/colorbox/js/colorbox_admin_settings.js
(function ($) {

Drupal.behaviors.initColorboxAdminSettings = {
  attach: function (context, settings) {
    $('div.colorbox-custom-settings-activate input.form-radio', context).click(function () {
      if (this.value == 1) {
        $('div.colorbox-custom-settings', context).show();
      }
      else {
        $('div.colorbox-custom-settings', context).hide();
      }
    });
    $('div.colorbox-slideshow-settings-activate input.form-radio', context).click(function () {
      if (this.value == 1) {
        $('div.colorbox-slideshow-settings', context).show();
      }
      else {
        $('div.colorbox-slideshow-settings', context).hide();
      }
    });
    $('div.colorbox-title-trim-settings-activate input.form-radio', context).click(function () {
      if (this.value == 1) {
        $('div.colorbox-title-trim-settings', context).show();
      }
      else {
        $('div.colorbox-title-trim-settings', context).hide();
      }
    });
  }
};

})(jQuery);