Révision 582db59d
Ajouté par Assos Assos il y a plus de 8 ans
drupal7/modules/block/block.js | ||
---|---|---|
24 | 24 |
$('fieldset#edit-node-type', context).drupalSetSummary(function (context) { |
25 | 25 |
var vals = []; |
26 | 26 |
$('input[type="checkbox"]:checked', context).each(function () { |
27 |
vals.push($.trim($(this).next('label').text()));
|
|
27 |
vals.push($.trim($(this).next('label').html()));
|
|
28 | 28 |
}); |
29 | 29 |
if (!vals.length) { |
30 | 30 |
vals.push(Drupal.t('Not restricted')); |
... | ... | |
35 | 35 |
$('fieldset#edit-role', context).drupalSetSummary(function (context) { |
36 | 36 |
var vals = []; |
37 | 37 |
$('input[type="checkbox"]:checked', context).each(function () { |
38 |
vals.push($.trim($(this).next('label').text()));
|
|
38 |
vals.push($.trim($(this).next('label').html()));
|
|
39 | 39 |
}); |
40 | 40 |
if (!vals.length) { |
41 | 41 |
vals.push(Drupal.t('Not restricted')); |
... | ... | |
49 | 49 |
return Drupal.t('Not customizable'); |
50 | 50 |
} |
51 | 51 |
else { |
52 |
return $radio.next('label').text();
|
|
52 |
return $radio.next('label').html();
|
|
53 | 53 |
} |
54 | 54 |
}); |
55 | 55 |
} |
Formats disponibles : Unified diff
Update Drupal core to version 7.40