#752508 by TR: Fixed admin/people/permissions displays disabled checkboxes wrong.
parent
cd6a08d843
commit
1f99fbb356
|
@ -16,8 +16,8 @@ Drupal.behaviors.permissions = {
|
||||||
$(this).addClass('real-checkbox');
|
$(this).addClass('real-checkbox');
|
||||||
$('<input type="checkbox" class="dummy-checkbox" disabled="disabled" checked="checked" />')
|
$('<input type="checkbox" class="dummy-checkbox" disabled="disabled" checked="checked" />')
|
||||||
.attr('title', Drupal.t("This permission is inherited from the authenticated user role."))
|
.attr('title', Drupal.t("This permission is inherited from the authenticated user role."))
|
||||||
.hide()
|
.insertAfter(this)
|
||||||
.insertAfter(this);
|
.hide();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Helper function toggles all dummy checkboxes based on the checkboxes'
|
// Helper function toggles all dummy checkboxes based on the checkboxes'
|
||||||
|
|
Loading…
Reference in New Issue