|
|
@ -12,11 +12,12 @@
|
|
|
|
initialize: function() {
|
|
|
|
initialize: function() {
|
|
|
|
this.accountManager = getAccountManager();
|
|
|
|
this.accountManager = getAccountManager();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.render();
|
|
|
|
|
|
|
|
|
|
|
|
var number = textsecure.storage.user.getNumber();
|
|
|
|
var number = textsecure.storage.user.getNumber();
|
|
|
|
if (number) {
|
|
|
|
if (number) {
|
|
|
|
$('input.number').val(number);
|
|
|
|
this.$('input.number').val(number);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.render();
|
|
|
|
|
|
|
|
this.phoneView = new Whisper.PhoneInputView({el: this.$('#phone-number-input')});
|
|
|
|
this.phoneView = new Whisper.PhoneInputView({el: this.$('#phone-number-input')});
|
|
|
|
this.$('#error').hide();
|
|
|
|
this.$('#error').hide();
|
|
|
|
},
|
|
|
|
},
|
|
|
|