mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Removed circular dependency.
This commit is contained in:
parent
6b67d66a93
commit
5e6831ba65
2 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
module.exports = function FatalMessageServiceFactory($modal, $location, socket) {
|
||||
module.exports = function FatalMessageServiceFactory($modal, $location) {
|
||||
var service = {}
|
||||
|
||||
var ModalInstanceCtrl = function ($scope, $modalInstance, device) {
|
||||
var ModalInstanceCtrl = function ($scope, $modalInstance) {
|
||||
$scope.ok = function () {
|
||||
$modalInstance.close(true)
|
||||
$location.path('/')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue