Factor out div ID name to avoid tight coupling with logic class.

This commit is contained in:
Kegan Dougal 2015-11-19 16:08:25 +00:00
parent 3cf9f786aa
commit bb6eeea0d8
2 changed files with 9 additions and 5 deletions

View file

@ -154,8 +154,10 @@ module.exports = React.createClass({
});
},
onCaptchaLoaded: function() {
this.registerLogic.tellStage("m.login.recaptcha", "loaded");
onCaptchaLoaded: function(divIdName) {
this.registerLogic.tellStage("m.login.recaptcha", {
divId: divIdName
});
},
// TODO: