mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Show a dialog for new ADB key if using device.
This commit is contained in:
parent
e6c1de5194
commit
95347d91f0
9 changed files with 152 additions and 109 deletions
|
@ -9,11 +9,9 @@ module.exports =
|
|||
$scope.modal.title = data.title
|
||||
|
||||
$scope.ok = function () {
|
||||
console.log('add key')
|
||||
$modalInstance.close(true)
|
||||
}
|
||||
|
||||
|
||||
$scope.$watch('modal.showAdd', function (newValue) {
|
||||
if (newValue === false) {
|
||||
$scope.ok()
|
||||
|
@ -36,9 +34,7 @@ module.exports =
|
|||
}
|
||||
})
|
||||
|
||||
modalInstance.result.then(function () {
|
||||
}, function () {
|
||||
})
|
||||
return modalInstance.result
|
||||
}
|
||||
|
||||
return service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue