Prepopulate phone number on standalone page
This commit is contained in:
parent
cf9523f1f8
commit
26cece71c6
1 changed files with 3 additions and 2 deletions
|
@ -12,11 +12,12 @@
|
|||
initialize: function() {
|
||||
this.accountManager = getAccountManager();
|
||||
|
||||
this.render();
|
||||
|
||||
var number = textsecure.storage.user.getNumber();
|
||||
if (number) {
|
||||
$('input.number').val(number);
|
||||
this.$('input.number').val(number);
|
||||
}
|
||||
this.render();
|
||||
this.phoneView = new Whisper.PhoneInputView({el: this.$('#phone-number-input')});
|
||||
this.$('#error').hide();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue