summaryrefslogtreecommitdiff
path: root/assets/js/src
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-12-09 20:35:40 -0500
committerFrederic Guillot <fred@kanboard.net>2016-12-09 20:35:40 -0500
commit67d01951f5a0a8e2201707162c1f7454f26ac798 (patch)
tree17729d00327ee58b6256c6a0ba261624717f5797 /assets/js/src
parent86d04bc0ef7f6f6f501a0aef16a7855aaebe95c2 (diff)
Rewrite component to change user/group role
Diffstat (limited to 'assets/js/src')
-rw-r--r--assets/js/src/ProjectPermission.js19
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()
- })
- });
- });
-};