Skip to content
Snippets Groups Projects
Commit 0c090cf3 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

preset kind with mail if upload is html or txt

parent 3b044be9
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@ if (vars.get("$this.value") == null && vars.get("$field.BINDATA"))
switch (mimeType)
{
case MimeTypes.EML():
case MimeTypes.HTML():
case MimeTypes.TXT():
case MimeTypes.MSG():
kind = $KeywordRegistry.documentTemplateType$mail();
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment