Permalink
Browse files

force modal signup dialog to hide after signup

  • Loading branch information...
martinmelin committed Jun 12, 2012
1 parent f27b74d commit 347b398c824d5b1dbf4edcf87a24cfcf3369b78b
Showing with 1 addition and 0 deletions.
  1. +1 −0 static/js/app/view/signup.js
@@ -111,6 +111,7 @@ define([
'password': form.password});
this.model.save(null, {
success: function(model, response) {
$('.modal').modal('hide'); // self.$el doesn't work..
utility.Mediator.trigger('page:navigate', '/user/' + model.id);
},
error: function(model, response) {

0 comments on commit 347b398

Please sign in to comment.