contrib modules security updates

This commit is contained in:
Bachir Soussi Chiadmi
2016-10-13 12:10:40 +02:00
parent ffd758abc9
commit 747127f643
732 changed files with 67976 additions and 23207 deletions

View File

@@ -80,7 +80,7 @@ Drupal.Panels.Draggable = {
regionId: 'panel-region-',
// What to add to the front of a the id to get the form id for a panel
formId: 'input#edit-',
formId: '#edit-',
maxWidth: 250,
@@ -492,8 +492,8 @@ Drupal.behaviors.PanelsDisplayEditor = {
Drupal.Panels.Draggable.savePositions();
// Bind buttons.
$('input#panels-hide-all', context).click(Drupal.Panels.clickHideAll);
$('input#panels-show-all', context).click(Drupal.Panels.clickShowAll);
$('#panels-hide-all', context).click(Drupal.Panels.clickHideAll);
$('#panels-show-all', context).click(Drupal.Panels.clickShowAll);
Drupal.Panels.bindClickDelete(context);
@@ -513,6 +513,11 @@ Drupal.behaviors.PanelsDisplayEditor = {
$('#panels-preview').html(html);
});
// Bind modal detach behaviors to cancel current form.
$(document).bind('CToolsDetachBehaviors', function(event, context) {
$('#edit-cancel-style', context).trigger('click');
});
var setTitleClass = function () {
if ($('#edit-display-title-hide-title').val() == 2) {
$('#panels-dnd-main').removeClass('panels-set-title-hide');