]> git.wh0rd.org - tt-rss.git/commitdiff
remove confirmation prompt from assign/remove label actions
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 21 Jan 2009 17:12:07 +0000 (18:12 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 21 Jan 2009 17:12:07 +0000 (18:12 +0100)
viewfeed.js

index 391e84bd989cb4477e3df7e532ec31614510260b..a638cbe711be28a08b6b17729402d2534762c493 100644 (file)
@@ -858,9 +858,9 @@ function selectionRemoveLabel(id) {
                        return;
                }
 
-               var ok = confirm(__("Remove selected articles from label?"));
+//             var ok = confirm(__("Remove selected articles from label?"));
 
-               if (ok) {
+//             if (ok) {
 
                        var query = "backend.php?op=rpc&subop=removeFromLabel&ids=" +
                                param_escape(ids.toString()) + "&lid=" + param_escape(id);
@@ -875,7 +875,7 @@ function selectionRemoveLabel(id) {
                                        all_counters_callback2(transport);
                                } });
 
-               }
+//             }
 
        } catch (e) {
                exception_error("selectionAssignLabel", e);
@@ -893,9 +893,9 @@ function selectionAssignLabel(id) {
                        return;
                }
 
-               var ok = confirm(__("Assign selected articles to label?"));
+//             var ok = confirm(__("Assign selected articles to label?"));
 
-               if (ok) {
+//             if (ok) {
 
                        cache_invalidate("F:" + (-11 - id));
 
@@ -910,7 +910,7 @@ function selectionAssignLabel(id) {
                                        all_counters_callback2(transport);
                                } });
 
-               }
+//             }
 
        } catch (e) {
                exception_error("selectionAssignLabel", e);