summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-22 01:35:59 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-22 01:35:59 +0200
commit78d3e2164116f299effb11d25b1971e6d375366e (patch)
treed7a875f96833946b82f001ebdba1c23b19d32b17 /js
parentfb28fadcf6e71b4b797aa4241436ec3add543ba0 (diff)
get rid of simplepie
Diffstat (limited to 'js')
-rw-r--r--js/admin/Admin.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/admin/Admin.js b/js/admin/Admin.js
index 2506cf41a..83d25962a 100644
--- a/js/admin/Admin.js
+++ b/js/admin/Admin.js
@@ -21,8 +21,8 @@
$('#news input[name="news-auto-purge-minimum-interval"]');
var autoPurgeCountInput =
$('#news input[name="news-auto-purge-count"]');
- var cacheDurationInput =
- $('#news input[name="news-cache-duration"]');
+ var maxRedirectsInput =
+ $('#news input[name="news-max-redirects"]');
var feedFetcherTimeoutInput =
$('#news input[name="news-feed-fetcher-timeout"]');
var savedMessage = $('#news-saved-message');
@@ -42,7 +42,7 @@
var submit = function () {
var autoPurgeMinimumInterval = autoPurgeMinimumIntervalInput.val();
var autoPurgeCount = autoPurgeCountInput.val();
- var cacheDuration = cacheDurationInput.val();
+ var maxRedirects = maxRedirectsInput.val();
var feedFetcherTimeout = feedFetcherTimeoutInput.val();
var useCronUpdates = useCronUpdatesInput.is(':checked');
@@ -50,7 +50,7 @@
autoPurgeMinimumInterval:
parseInt(autoPurgeMinimumInterval, 10),
autoPurgeCount: parseInt(autoPurgeCount, 10),
- cacheDuration: parseInt(cacheDuration, 10),
+ maxRedirects: parseInt(maxRedirects, 10),
feedFetcherTimeout: parseInt(feedFetcherTimeout, 10),
useCronUpdates: useCronUpdates
};
@@ -68,7 +68,7 @@
autoPurgeMinimumIntervalInput
.val(data.autoPurgeMinimumInterval);
autoPurgeCountInput.val(data.autoPurgeCount);
- cacheDurationInput.val(data.cacheDuration);
+ maxRedirectsInput.val(data.maxRedirects);
feedFetcherTimeoutInput.val(data.feedFetcherTimeout);
useCronUpdatesInput.prop('checked', data.useCronUpdates);
});