FSN#28624: CNT: record bij wijzigen blokkeren.
svn path=/Website/trunk/; revision=20523
This commit is contained in:
29
APPL/CNT/cnt_unlock.asp
Normal file
29
APPL/CNT/cnt_unlock.asp
Normal 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));
|
||||
%>
|
||||
Reference in New Issue
Block a user