mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 08:35:57 +00:00
add experimental support for Twitter OAuth and Twitter feeds (bump schema)
This commit is contained in:
20
prefs.js
20
prefs.js
@@ -1704,4 +1704,24 @@ function editLabel(id, event) {
|
||||
}
|
||||
}
|
||||
|
||||
function clearTwitterCredentials() {
|
||||
try {
|
||||
var ok = confirm(__("This will clear your stored authentication information for Twitter. Continue?"));
|
||||
|
||||
if (ok) {
|
||||
notify_progress("Clearing credentials...");
|
||||
|
||||
var query = "?op=pref-feeds&subop=remtwitterinfo";
|
||||
|
||||
new Ajax.Request("backend.php", {
|
||||
parameters: query,
|
||||
onComplete: function(transport) {
|
||||
notify_info("Twitter credentials have been cleared.");
|
||||
updateFeedList();
|
||||
} });
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
exception_error("clearTwitterCredentials", e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user