Skip to content
Snippets Groups Projects
Commit 00232a6d authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

When triggering the checkregistration:confirmed message, do so through close...

When triggering the checkregistration:confirmed message, do so through close so that we teardown the controller.

This fixes the problem of adding multiple email addresses in the same dialog lifespan.

close #215
parent 6c9ff3ca
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@
// enable button
$('#continue_button').removeClass('disabled');
self.publish("checkregistration:confirmed");
self.close("checkregistration:confirmed");
} else if (status === 'pending') {
// try again, what else can we do?
self.setupRegCheck();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment