summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/js')
-rw-r--r--apps/workflowengine/js/filenameplugin.js4
1 files changed, 2 insertions, 2 deletions
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