From adf395b7cfa91024af5436d0d8623d26d947a7b3 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 18 Nov 2014 18:56:12 +0100 Subject: test --- js/build/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'js/build/app.js') diff --git a/js/build/app.js b/js/build/app.js index 3ee3bbd10..52da779ac 100644 --- a/js/build/app.js +++ b/js/build/app.js @@ -110,7 +110,6 @@ app.run(["$rootScope", "$location", "$http", "$q", "$interval", "Loading", "Item // show Loading screen Loading.setLoading('global', true); - $animate.enabled(false); // listen to keys in returned queries to automatically distribute the // incoming values to models @@ -180,7 +179,7 @@ app.run(["$rootScope", "$location", "$http", "$q", "$interval", "Loading", "Item ] ) .then(function () { - $animate.enabled(true); + $animate.enable(true); Loading.setLoading('global', false); }); @@ -362,8 +361,8 @@ app.controller('ContentController', }]); app.controller('NavigationController', -["$route", "FEED_TYPE", "FeedResource", "FolderResource", "ItemResource", "SettingsResource", "Publisher", "$rootScope", "$location", "$q", function ($route, FEED_TYPE, FeedResource, FolderResource, ItemResource, - SettingsResource, Publisher, $rootScope, $location, $q) { +["$route", "FEED_TYPE", "FeedResource", "FolderResource", "ItemResource", "SettingsResource", "Publisher", "$rootScope", "$location", "$q", "$animate", function ($route, FEED_TYPE, FeedResource, FolderResource, ItemResource, + SettingsResource, Publisher, $rootScope, $location, $q, $animate) { 'use strict'; this.feedError = ''; @@ -427,6 +426,7 @@ app.controller('NavigationController', }; this.getFolderUnreadCount= function (folderId) { + $animate.enabled(true); return FeedResource.getFolderUnreadCount(folderId); }; -- cgit v1.2.3