mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Removed circular dependency.
This commit is contained in:
@@ -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('/')
|
||||
|
||||
Reference in New Issue
Block a user