SGGR#38841 Goedkeuring via mobile geeft u heeft hiervoor geen rechten

svn path=/Website/trunk/; revision=32251
This commit is contained in:
Erik Groener
2017-01-06 12:44:21 +00:00
parent 1a21add152
commit 5511034577

View File

@@ -286,21 +286,19 @@ if (addSubheader)
{ // E<>rst accepteren, dan saven. Ander heb je met BOF maar zonder FOF een probleem
$.post( "../mld/mld_accept_save.asp?mld_key=<%=mld_key%>"
, $("[name=meld]").serialize()
, FcltCallbackAndThen(function ()
<% if (this_mld.canChange) { %>
, McltCallbackAndThen(function ()
{
if (<%=this_mld.canChange%>)
{
$.post( $("form[name=meld]")[0].action
, $("[name=meld]").serialize()
, McltCallbackRefresh
, "json");
}
else
{
window.location.href = window.location.href;
}
$.post( $("form[name=meld]")[0].action
, $("[name=meld]").serialize()
, McltCallbackRefresh
, "json");
})
, "json");
<% } else { %>
, McltCallbackRefresh
, "json");
<% } %>
return false;
};