diff options
Diffstat (limited to 'assets/js/src/ProjectPermission.js')
-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() - }) - }); - }); -}; |