Add support for device name
This commit is contained in:
parent
9f1af24b9c
commit
f32ff58953
6 changed files with 71 additions and 31 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue