Commit 1f99fbb3 authored by webchick's avatar webchick
Browse files

#752508 by TR: Fixed admin/people/permissions displays disabled checkboxes wrong.

parent cd6a08d8
...@@ -16,8 +16,8 @@ Drupal.behaviors.permissions = { ...@@ -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'
......
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