From 37ae5cb1009ca92a8e55f8ac7146eeef10c6c9fc Mon Sep 17 00:00:00 2001
From: Daniel Kesselberg <mail@danielkesselberg.de>
Date: Thu, 4 Oct 2018 17:59:29 +0200
Subject: Change placeholder

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
---
 apps/workflowengine/js/filenameplugin.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'apps')

diff --git a/apps/workflowengine/js/filenameplugin.js b/apps/workflowengine/js/filenameplugin.js
index cc95f78abde..c493bb3bf66 100644
--- a/apps/workflowengine/js/filenameplugin.js
+++ b/apps/workflowengine/js/filenameplugin.js
@@ -47,7 +47,7 @@
 				return;
 			}
 
-			var placeholder = 'text/plain';
+			var placeholder = 'dummy.jpg';
 			if (check['operator'] === 'matches' || check['operator'] === '!matches') {
 				placeholder = '/^dummy-.+$/i';
 
@@ -75,4 +75,4 @@
 	};
 })();
 
-OC.Plugins.register('OCA.WorkflowEngine.CheckPlugins', OCA.WorkflowEngine.Plugins.FileNamePlugin);
+OC.Plugins.register('OCA.WorkflowEngine.CheckPlugins', OCA.WorkflowEngine.Plugins.FileNamePlugin);
\ No newline at end of file
-- 
cgit v1.2.3