From a242baa0e3bbbd9f74431446f686245a029b2ec3 Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 25 Oct 2006 19:21:46 +0000 Subject: [PATCH] editting of permissions enabled when adding new role MDL-7137; merged from MOODLE_17_STABLE --- admin/roles/manage.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/roles/manage.html b/admin/roles/manage.html index 34d93ec0d2..ca4c77873a 100755 --- a/admin/roles/manage.html +++ b/admin/roles/manage.html @@ -98,7 +98,7 @@ foreach ($capabilities as $capability) { $localoverride->permission = $role->{$capability->name}; } - $disabled = ($action != 'edit') ? ' disabled="disabled" ' : ''; + $disabled = ($action != 'edit' and $action != 'add') ? ' disabled="disabled" ' : ''; $strrisks = htmlentities(get_string('risks', 'role')); $strcapabilities = htmlentities(get_string('capabilities', 'role')); -- 2.39.5