Renaming loadingService to
parent
58923eaa81
commit
cbcba41ab8
|
@ -253,7 +253,7 @@ module.directive("tgLbCreateEditUserstory", [
|
||||||
"$tgResources",
|
"$tgResources",
|
||||||
"$rootScope",
|
"$rootScope",
|
||||||
"lightboxService",
|
"lightboxService",
|
||||||
"loadingService",
|
"$tgLoading",
|
||||||
CreateEditUserstoryDirective
|
CreateEditUserstoryDirective
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
module = angular.module("taigaCommon")
|
module = angular.module("taigaCommon")
|
||||||
|
|
||||||
class LoadingService extends taiga.Service
|
class TgLoadingService extends taiga.Service
|
||||||
start: (target) ->
|
start: (target) ->
|
||||||
target.data('loading-old-content', target.html())
|
target.data('loading-old-content', target.html())
|
||||||
target.addClass('loading')
|
target.addClass('loading')
|
||||||
|
@ -33,4 +33,4 @@ class LoadingService extends taiga.Service
|
||||||
target.html(oldContent)
|
target.html(oldContent)
|
||||||
target.removeClass('loading')
|
target.removeClass('loading')
|
||||||
|
|
||||||
module.service("loadingService", LoadingService)
|
module.service("$tgLoading", TgLoadingService)
|
||||||
|
|
Loading…
Reference in New Issue