Permalink
Browse files

Merge branch 'wip-MDL-59898-33' of git://github.com/abgreeve/moodle i…

…nto MOODLE_33_STABLE
  • Loading branch information...
dmonllao committed Sep 4, 2017
2 parents 3909dc6 + 29786b2 commit 42b8955e28d1b05262318b67533dbb012ec1a1f8
Showing with 3 additions and 1 deletion.
  1. +1 −1 lib/amd/build/permissionmanager.min.js
  2. +2 −0 lib/amd/src/permissionmanager.js

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -104,11 +104,13 @@ define(['jquery', 'core/config', 'core/notification', 'core/templates', 'core/yu
templatedata.spanclass = 'allowed';
templatedata.linkclass = 'preventlink';
templatedata.action = 'prevent';
templatedata.icon = 't/delete';
break;
case 'prohibit':
templatedata.spanclass = 'forbidden';
templatedata.linkclass = 'unprohibitlink';
templatedata.action = 'unprohibit';
templatedata.icon = 't/delete';
break;
case 'prevent':
row.find('a[data-role-id="' + roleid + '"]').first().closest('.allowed').remove();

0 comments on commit 42b8955

Please sign in to comment.