1
0
Fork 0
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:
Simo Kinnunen 2014-10-01 21:33:47 +09:00
parent e6c1de5194
commit 95347d91f0
9 changed files with 152 additions and 109 deletions

View file

@ -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