From 6331f4214e262ca2e958dd00fb6797235a3d54ef Mon Sep 17 00:00:00 2001 From: nikhila05 Date: Thu, 25 Oct 2018 11:24:21 +0530 Subject: [PATCH] completed refreshing a page after closing a case (#133) --- cases/templates/cases.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cases/templates/cases.html b/cases/templates/cases.html index a8e6a4b9..073e2538 100644 --- a/cases/templates/cases.html +++ b/cases/templates/cases.html @@ -168,7 +168,7 @@ $.post(url, { "case_id": x }, function(data) { - $("#status_id"+data.cid).text(data.status) + location.reload(); }) } }