diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-12-09 20:35:40 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-12-09 20:35:40 -0500 |
commit | 67d01951f5a0a8e2201707162c1f7454f26ac798 (patch) | |
tree | 17729d00327ee58b6256c6a0ba261624717f5797 /assets/js/src | |
parent | 86d04bc0ef7f6f6f501a0aef16a7855aaebe95c2 (diff) |
Rewrite component to change user/group role
Diffstat (limited to 'assets/js/src')
-rw-r--r-- | assets/js/src/ProjectPermission.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/assets/js/src/ProjectPermission.js b/assets/js/src/ProjectPermission.js deleted file mode 100644 index fec666b1..00000000 --- a/assets/js/src/ProjectPermission.js +++ /dev/null @@ -1,19 +0,0 @@ -Kanboard.ProjectPermission = function(app) { - this.app = app; -}; - -Kanboard.ProjectPermission.prototype.listen = function() { - $('.project-change-role').on('change', function () { - $.ajax({ - cache: false, - url: $(this).data('url'), - contentType: "application/json", - type: "POST", - processData: false, - data: JSON.stringify({ - "id": $(this).data('id'), - "role": $(this).val() - }) - }); - }); -}; |