Drupal: Applied patch SA-CONTRIB-2019-028

See:
https://www.drupal.org/sa-contrib-2019-028
https://www.drupal.org/project/d6lts/issues/3036217
This commit is contained in:
Shawn Kwang 2019-02-27 14:11:45 -06:00
parent d627580389
commit 71f4e4d1d7
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ DrupalContextBlockForm = function(blockForm) {
// Hide enabled blocks from selector that are used
$('table.context-blockform-region tr').each(function() {
var bid = $(this).attr('id');
var bid = Drupal.checkPlain($(this).attr('id'));
$('div.context-blockform-selector input[value='+bid+']').parents('div.form-item').eq(0).hide();
});
// Show blocks in selector that are unused