mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Add support for device name
This commit is contained in:
@@ -51,10 +51,14 @@
|
||||
});
|
||||
$('.confirmation-dialog .ok').click(function(e) {
|
||||
e.stopPropagation();
|
||||
var name = $('#device-name').val();
|
||||
if (name.trim().length === 0) {
|
||||
return;
|
||||
}
|
||||
$('.confirmation-dialog').hide();
|
||||
$('.progress-dialog').show();
|
||||
$('.progress-dialog .status').text('Generating Keys');
|
||||
resolve();
|
||||
resolve(name);
|
||||
});
|
||||
$('.modal-container').show();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user