mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Fix focus issues with identity key send view
Tabbing right after entering the view would cause everythign to go crazy as focus went back to the pane you were just on. This change both sets the proper focus on load of that view (on the cancel button) and hides other panes when they aren't active, only making them visible again when they are once again the 'top' pane. FREEBIE
This commit is contained in:
@@ -38,9 +38,10 @@
|
||||
this.listenTo(view, 'send-anyway', this.onSendAnyway);
|
||||
|
||||
view.render();
|
||||
|
||||
this.listenBack(view);
|
||||
view.$('.cancel').focus();
|
||||
}
|
||||
// TODO: is there anything we might want to do here? Pop a confirmation dialog? Ideally it would always have error-specific help.
|
||||
},
|
||||
forceSend: function() {
|
||||
this.model.updateVerified().then(function() {
|
||||
|
||||
Reference in New Issue
Block a user