ASDL#37457 -- AiAi bij afmelden locatie

svn path=/Website/branches/v2016.1/; revision=30361
This commit is contained in:
Arthur Egberink
2016-08-18 15:27:55 +00:00
parent 7f4a856e44
commit d74d840e96

View File

@@ -63,8 +63,12 @@ if (locatie_key != -1)
if (json.success)
{
jqToast(L("lcl_mobile_data_saved"));
window.location.href = "kies_locatie.asp";
}
else
{
jqToast("Locatie kon niet afgemeld worden.");
}
window.location.href = "kies_locatie.asp";
}
function default_inspect(ins_keys, srtcont_keys)
{
@@ -82,8 +86,14 @@ if (locatie_key != -1)
"json");
}
<% if (oRs("ins_keys").value) { %>
default_inspect("<%=oRs.Fields("ins_keys").Value%>", "<%=oRs.Fields("srtcont_keys").Value%>");
<%
}
else { %>
var result = { success: false};
ins_submit_callback(result);
<% } %>
</script>
<%