summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-11 23:29:04 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-11 23:29:04 +0100
commitadc5f90f83c7a2efc585ef6ebd98d9c818fb4404 (patch)
tree8821d77cf7dda2f25f49a275f6aa4a83f8f68e91 /js
parent55e05a5c95c00f6e6519cf34567fb033fc146563 (diff)
show spinning wheel on adding and removed unused file
Diffstat (limited to 'js')
-rw-r--r--js/app.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/app.js b/js/app.js
index 3215c46ac..13bd14a61 100644
--- a/js/app.js
+++ b/js/app.js
@@ -1740,14 +1740,14 @@
} else {
folderId = folder.id;
}
- _this.addingFeed = true;
+ _this.$scope.adding = true;
onSuccess = function() {
_this.$scope.feedUrl = '';
- return _this.addingFeed = false;
+ return _this.$scope.adding = false;
};
onError = function() {
_this.$scope.feedError = true;
- return _this.addingFeed = false;
+ return _this.$scope.adding = false;
};
return _this.persistence.createFeed(url, folderId, onSuccess, onError);
}