FSN#40991 Fileupload gaf AiAi bij Timezone=GB
svn path=/Website/branches/v2017.1/; revision=34344
This commit is contained in:
@@ -252,30 +252,6 @@ if (fso.FolderExists(params.AttachPath))
|
||||
window.location = "<%=protectQS.create("BijlagenForm.asp?x=x"+transitParam)%>";
|
||||
}
|
||||
|
||||
function mailFile()
|
||||
{
|
||||
<%
|
||||
if (false)
|
||||
{
|
||||
var user = shared.random(16);
|
||||
var adres = user + "@sgf12.dijkoraad.local";
|
||||
var expire = new Date();
|
||||
expire.setMinutes(expire.getMinutes() + 10);
|
||||
var sql = "INSERT INTO fac_email_setting("
|
||||
+ " fac_email_setting_user,"
|
||||
+ " fac_email_setting_actiontype,"
|
||||
+ " fac_email_setting_attachpath,"
|
||||
+ " fac_email_setting_expire)"
|
||||
+ " VALUES("
|
||||
+ safe.quoted_sql(user) + ","
|
||||
+ "2 ," // Bijlagen
|
||||
+ safe.quoted_sql(params.AttachPath + "/") + ","
|
||||
+ expire.toSQL(true) + ")";
|
||||
Oracle.Execute(sql);
|
||||
}
|
||||
%>
|
||||
prompt("Stuur voor <%=toDateTimeString(expire)%> e-mail naar", "<%=safe.jsstring(adres)%>");
|
||||
}
|
||||
function Sluiten()
|
||||
{
|
||||
window.return_data.org_data=FcltMgr.dialogArguments();
|
||||
@@ -374,7 +350,6 @@ if (fso.FolderExists(params.AttachPath))
|
||||
);
|
||||
</script>
|
||||
<% BLOCK_END();
|
||||
// buttons.push({id: "addButton", title: "Mail naar", action: "mailFile()"});
|
||||
|
||||
buttons.push({id: "closeButton", title: L("lcl_window_done"), action: "Sluiten()"});
|
||||
CreateButtons(buttons);
|
||||
|
||||
Reference in New Issue
Block a user