Issue #1574512 by MariaAlicia, nod_, oresh: Selectors clean-up: block.
parent
57934b6e36
commit
cc27945146
|
@ -26,9 +26,7 @@ Drupal.behaviors.blockSettingsSummary = {
|
|||
return vals.join(', ');
|
||||
}
|
||||
|
||||
$('#edit-visibility-node-type').drupalSetSummary(checkboxesSummary);
|
||||
$('#edit-visibility-language').drupalSetSummary(checkboxesSummary);
|
||||
$('#edit-visibility-role').drupalSetSummary(checkboxesSummary);
|
||||
$('#edit-visibility-node-type, #edit-visibility-language, #edit-visibility-role').drupalSetSummary(checkboxesSummary);
|
||||
|
||||
$('#edit-visibility-path').drupalSetSummary(function (context) {
|
||||
var $pages = $(context).find('textarea[name="visibility[path][pages]"]');
|
||||
|
|
Loading…
Reference in New Issue