diff admajax.js.php @ 1120:b2bca5f6d0ff default tip

Cosmetic cleanup: remove trailing whitespace.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 13 Dec 2020 13:47:13 +0200
parents 0a2117349f46
children
line wrap: on
line diff
--- a/admajax.js.php	Mon Oct 14 10:54:32 2019 +0300
+++ b/admajax.js.php	Sun Dec 13 13:47:13 2020 +0200
@@ -229,12 +229,12 @@
     jsSendPOSTRequest("action=delete&type="+type+"&id="+id, msuccess);
     item.className = tmp;
   }
-  
+
   var mcb_cancel = function (data)
   {
     item.className = tmp;
   }
-  
+
   if (dsc)
     jsConfirmBox("Are you sure you want to delete "+dsc+" #"+id+"?", mcb_ok, mcb_cancel, 0);
   else
@@ -486,7 +486,7 @@
 
 function deleteCompo(id)
 {
-  jsDeleteItem(id, "compo", "compo", function () { refreshDispatchCC("Compos"); }, 0, 
+  jsDeleteItem(id, "compo", "compo", function () { refreshDispatchCC("Compos"); }, 0,
     "Are you ABSOLUTELY sure you want to delete compo #"+id+"? "+
     "This will delete all votes AND entries related to it!");
 }
@@ -675,7 +675,7 @@
   {
     userKeyRefresh(id);
   }
-  
+
   if (lastPostArgs["active"] == 0)
     jsConfirmBox("Are you sure you want to deactivate vote key #"+id+"?", mcb_ok, mcb_cancel, 0);
   else
@@ -691,7 +691,7 @@
   {
     userKeyUpdate(id, (mode ? "assign" : "clear"), args);
   }
-  
+
   if (mode == 0)
     jsConfirmBox("Are you sure you want to clear vote key assign #"+id+"?", mcb_ok, 0, 0);
   else
@@ -730,7 +730,7 @@
     else
       jsSendPOSTRequest("action=randomize&type=compo&id="+id+"&patch="+patch, msuccess);
   }
-  
+
   if (patch == 0)
   {
     jsConfirmBox("Are you <b>ABSOLUTELY CERTAIN</b> you want to delete and regenerate entry show positions "+