Factor out div ID name to avoid tight coupling with logic class.
This commit is contained in:
parent
3cf9f786aa
commit
bb6eeea0d8
2 changed files with 9 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue