From a39bba8d2984494938c42a209817e139030e3262 Mon Sep 17 00:00:00 2001 From: Max Pozdeev Date: Thu, 22 Oct 2009 16:25:46 +0400 Subject: [PATCH] - bugfix: not working checkbox to complete the task --- src/ajax.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ajax.js b/src/ajax.js index 948b33e..519cd21 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -205,6 +205,7 @@ function completeTask(id,ch) var compl = 0; if(ch.checked) compl = 1; setAjaxErrorTrigger(); + var nocache = '&rnd='+Math.random(); $.getJSON('ajax.php?completeTask='+id+'&compl='+compl+nocache, function(json){ resetAjaxErrorTrigger(); if(!parseInt(json.total)) return;