mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 10:15:55 +00:00
remove ok = confirm() thing
This commit is contained in:
@@ -10,10 +10,7 @@ function shareArticle(id) {
|
||||
title: __("Share article by URL"),
|
||||
style: "width: 600px",
|
||||
newurl: function() {
|
||||
|
||||
var ok = confirm(__("Generate new share URL for this article?"));
|
||||
|
||||
if (ok) {
|
||||
if (confirm(__("Generate new share URL for this article?"))) {
|
||||
|
||||
notify_progress("Trying to change URL...", true);
|
||||
|
||||
@@ -51,10 +48,7 @@ function shareArticle(id) {
|
||||
|
||||
},
|
||||
unshare: function() {
|
||||
|
||||
var ok = confirm(__("Remove sharing for this article?"));
|
||||
|
||||
if (ok) {
|
||||
if (confirm(__("Remove sharing for this article?"))) {
|
||||
|
||||
notify_progress("Trying to unshare...", true);
|
||||
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
function clearArticleAccessKeys() {
|
||||
|
||||
var ok = confirm(__("This will invalidate all previously shared article URLs. Continue?"));
|
||||
|
||||
if (ok) {
|
||||
if (confirm(__("This will invalidate all previously shared article URLs. Continue?"))) {
|
||||
notify_progress("Clearing URLs...");
|
||||
|
||||
var query = "?op=pluginhandler&plugin=share&method=clearArticleKeys";
|
||||
|
||||
Reference in New Issue
Block a user