Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Update django-browserid.
Browse files Browse the repository at this point in the history
  • Loading branch information
carljm committed Mar 27, 2012
1 parent 483c736 commit d270f40
Show file tree
Hide file tree
Showing 30 changed files with 12 additions and 5,041 deletions.
12 changes: 12 additions & 0 deletions lib/python/django_browserid/static/browserid/browserid.js
@@ -0,0 +1,12 @@
$(document).ready(function() {
$('#browserid').bind('click', function(e) {
e.preventDefault();
navigator.id.getVerifiedEmail(function(assertion) {
if (assertion) {
var $e = $('#id_assertion');
$e.val(assertion.toString());
$e.parent().submit();
}
});
});
});

0 comments on commit d270f40

Please sign in to comment.