summaryrefslogtreecommitdiffstats
path: root/js/controller/NavigationController.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controller/NavigationController.js')
-rw-r--r--js/controller/NavigationController.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js
index 1b183cbdf..68a46900e 100644
--- a/js/controller/NavigationController.js
+++ b/js/controller/NavigationController.js
@@ -210,7 +210,9 @@ app.controller('NavigationController', function ($route, FEED_TYPE, FeedResource
feed.url += regResult[2];
}
- FeedResource.create(feed.url, existingFolder.id, undefined, feed.user, feed.password).then(function (data) {
+ var autoDiscover = feed.autoDiscover ? true : false;
+ FeedResource.create(feed.url, existingFolder.id, undefined, feed.user, feed.password, autoDiscover)
+ .then(function (data) {
Publisher.publishAll(data);
// set folder as default
@@ -220,6 +222,7 @@ app.controller('NavigationController', function ($route, FEED_TYPE, FeedResource
feed.url = '';
feed.user = '';
feed.password = '';
+ feed.autoDiscover = true;
self.addingFeed = false;
});