summaryrefslogtreecommitdiffstats
path: root/js/public
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-16 16:59:38 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-16 16:59:38 +0200
commit43ca6673b479695a84c77bc48bd27655ed6c93b9 (patch)
treeb2fa1dc71d3d6fd2afc12497605f219ed4df9446 /js/public
parent3b425b0a46ae89e9ef0127b35563572238a1dc1c (diff)
unescape title to not escape html characters, this is handled by angularjs
Diffstat (limited to 'js/public')
-rw-r--r--js/public/app.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/js/public/app.js b/js/public/app.js
index 603600810..1939c7165 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -314,11 +314,11 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
(function() {
angular.module('News').controller('FeedController', [
- '$scope', '_ExistsError', 'Persistence', 'FolderBusinessLayer', 'FeedBusinessLayer', 'SubscriptionsBusinessLayer', 'StarredBusinessLayer', 'unreadCountFormatter', function($scope, _ExistsError, Persistence, FolderBusinessLayer, FeedBusinessLayer, SubscriptionsBusinessLayer, StarredBusinessLayer, unreadCountFormatter) {
+ '$scope', '_ExistsError', 'Persistence', 'FolderBusinessLayer', 'FeedBusinessLayer', 'SubscriptionsBusinessLayer', 'StarredBusinessLayer', 'unreadCountFormatter', 'ActiveFeed', 'FeedType', function($scope, _ExistsError, Persistence, FolderBusinessLayer, FeedBusinessLayer, SubscriptionsBusinessLayer, StarredBusinessLayer, unreadCountFormatter, ActiveFeed, FeedType) {
var FeedController;
FeedController = (function() {
- function FeedController(_$scope, _persistence, _folderBusinessLayer, _feedBusinessLayer, _subscriptionsBusinessLayer, _starredBusinessLayer, _unreadCountFormatter) {
+ function FeedController(_$scope, _persistence, _folderBusinessLayer, _feedBusinessLayer, _subscriptionsBusinessLayer, _starredBusinessLayer, _unreadCountFormatter, _activeFeed, _feedType) {
var _this = this;
this._$scope = _$scope;
@@ -328,6 +328,8 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
this._subscriptionsBusinessLayer = _subscriptionsBusinessLayer;
this._starredBusinessLayer = _starredBusinessLayer;
this._unreadCountFormatter = _unreadCountFormatter;
+ this._activeFeed = _activeFeed;
+ this._feedType = _feedType;
this._isAddingFolder = false;
this._isAddingFeed = false;
this._$scope.folderBusinessLayer = this._folderBusinessLayer;
@@ -408,7 +410,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
return FeedController;
})();
- return new FeedController($scope, Persistence, FolderBusinessLayer, FeedBusinessLayer, SubscriptionsBusinessLayer, StarredBusinessLayer, unreadCountFormatter);
+ return new FeedController($scope, Persistence, FolderBusinessLayer, FeedBusinessLayer, SubscriptionsBusinessLayer, StarredBusinessLayer, unreadCountFormatter, ActiveFeed, FeedType);
}
]);
@@ -485,7 +487,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
this._$scope.$on('autoPage', function() {
if (_this._autoPaging) {
_this._autoPaging = false;
- return _this._itemBusinessLayer.loadNext(function() {
+ return _this._itemBusinessLayer.loadNext(function(data) {
return _this._autoPaging = true;
});
}
@@ -2256,7 +2258,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
}
loading.increase();
successCallbackWrapper = function(data) {
- onSuccess();
+ onSuccess(data);
return loading.decrease();
};
failureCallbackWrapper = function(data) {