Commit a9136f2f authored by xjm's avatar xjm
Browse files

Issue #2513646 by pwolanin, alexpott: Role name is unescaped on block admin via JS

parent ebb21d28
......@@ -26,7 +26,7 @@
var $checkboxes = $(context).find('input[type="checkbox"]:checked + label');
var il = $checkboxes.length;
for (var i = 0; i < il; i++) {
vals.push($($checkboxes[i]).text());
vals.push($($checkboxes[i]).html());
}
if (!vals.length) {
vals.push(Drupal.t('Not restricted'));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment