FSN#28624: CNT: record bij wijzigen blokkeren.

svn path=/Website/trunk/; revision=20523
This commit is contained in:
Maykel Geerdink
2014-02-04 07:06:09 +00:00
parent 2b75cb733f
commit 7654934de8

29
APPL/CNT/cnt_unlock.asp Normal file
View File

@@ -0,0 +1,29 @@
<%@language = "javascript" %>
<% /*
$Revision$
$Id$
Unlock een cnt-lock
Meestal doen we dat gewoon in showmode maar als je een hot tabblad
sluit dan komen we daar niet. Dan wordt dit bestand aangeroepen
*/ %>
<%
var JSON_Result = true;
%>
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/json2.js" -->
<!-- #include file="cnt.inc" -->
<%
protectRequest.validateToken();
var cnt_key = getFParamInt("cnt_key");
// Autorisatie is niet echt relevant. Er wordt alleen een unlock gedaan
// als jij het lock had.
cnt.unlock(cnt_key);
result = { success: true };
Response.Write(JSON.stringify(result));
%>