Projet

Général

Profil

Révision e4c061ad

Ajouté par Assos Assos il y a plus de 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/panels/js/display_editor.js
80 80
  regionId: 'panel-region-',
81 81

  
82 82
  // What to add to the front of a the id to get the form id for a panel
83
  formId: 'input#edit-',
83
  formId: '#edit-',
84 84

  
85 85
  maxWidth: 250,
86 86

  
......
492 492
    Drupal.Panels.Draggable.savePositions();
493 493

  
494 494
    // Bind buttons.
495
    $('input#panels-hide-all', context).click(Drupal.Panels.clickHideAll);
496
    $('input#panels-show-all', context).click(Drupal.Panels.clickShowAll);
495
    $('#panels-hide-all', context).click(Drupal.Panels.clickHideAll);
496
    $('#panels-show-all', context).click(Drupal.Panels.clickShowAll);
497 497

  
498 498
    Drupal.Panels.bindClickDelete(context);
499 499

  
......
513 513
        $('#panels-preview').html(html);
514 514
      });
515 515

  
516
    // Bind modal detach behaviors to cancel current form.
517
    $(document).bind('CToolsDetachBehaviors', function(event, context) {
518
      $('#edit-cancel-style', context).trigger('click');
519
    });
520

  
516 521
    var setTitleClass = function () {
517 522
      if ($('#edit-display-title-hide-title').val() == 2) {
518 523
        $('#panels-dnd-main').removeClass('panels-set-title-hide');

Formats disponibles : Unified diff