Commit c70bd5c9 by David Baumgold

Remove whitespace from email addresses on the course team page

parent 06821574
......@@ -93,7 +93,7 @@
var $newUserForm = $('.new-user-form');
$newUserForm.bind('submit', function(e) {
e.preventDefault();
var url = tplUserURL.replace("@@EMAIL@@", $('#email').val())
var url = tplUserURL.replace("@@EMAIL@@", $('#email').val().trim())
$.ajax({
url: url,
type: 'POST',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment