summaryrefslogtreecommitdiff
path: root/client/js/services/Loading.js
diff options
context:
space:
mode:
authorYoggzo <yogg@epsina.com>2016-03-02 10:58:01 +0100
committerYoggzo <yogg@epsina.com>2016-03-02 10:58:01 +0100
commitd1bd9b4a0c3168eec28ea1c3992748afe1953218 (patch)
tree538ef3d0b37e1dcb0528ce6395c3a82a672a5089 /client/js/services/Loading.js
parentae1100c16880d4bae77513ec433ac6734da8dea4 (diff)
parentb6d7d2c30efe5e9758072bb82ea3a947bda7fd1d (diff)
Merge branch 'develop' into Evan
Diffstat (limited to 'client/js/services/Loading.js')
-rw-r--r--client/js/services/Loading.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/client/js/services/Loading.js b/client/js/services/Loading.js
new file mode 100644
index 0000000..b12aaa0
--- /dev/null
+++ b/client/js/services/Loading.js
@@ -0,0 +1,22 @@
+
+mainApp.factory('Loading',[ '$http', 'Identity', function($http, Identity){
+
+
+
+
+ var start=function(){
+ $('#loadingModal').modal({backdrop: 'static', keyboard: false});
+ };
+
+ var stop=function(){
+ $('#loadingModal').modal('hide');
+ }
+
+
+ return {
+ start:start,
+ stop:stop
+ };
+
+
+}]);