Remove whitespace from email addresses on the course team page

This commit is contained in:
David Baumgold
2013-07-23 16:07:43 -04:00
parent 0682157477
commit c70bd5c908

View File

@@ -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',