From dfa6f404e658f9d6740a65eddabdd99f03f8b8ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Mon, 26 Jul 2021 15:21:45 +0300 Subject: [PATCH] Improve the "Invite a Team Member" dialog --- static/js/project.js | 2 +- templates/accounts/project.html | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/static/js/project.js b/static/js/project.js index bb4fbe33..45c865e4 100644 --- a/static/js/project.js +++ b/static/js/project.js @@ -20,7 +20,7 @@ $(function() { $(".add-to-team").click(function() { $("#itm-email").val(this.dataset.email); - $("#invite-team-member-modal form").submit(); + $("#invite-team-member-modal").modal("show"); return false; }); diff --git a/templates/accounts/project.html b/templates/accounts/project.html index d2efb516..b4d6f872 100644 --- a/templates/accounts/project.html +++ b/templates/accounts/project.html @@ -381,11 +381,6 @@

Invite a Team Member