summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/js
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2018-10-04 17:59:29 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2018-10-04 17:59:29 +0200
commit37ae5cb1009ca92a8e55f8ac7146eeef10c6c9fc (patch)
tree8f05c7ddbcbc7eba6c4893e90e5e5f13248896e8 /apps/workflowengine/js
parent4c4f50ee2d03e51fc5beaae470381d4a32dff620 (diff)
downloadnextcloud-server-37ae5cb1009ca92a8e55f8ac7146eeef10c6c9fc.tar.gz
nextcloud-server-37ae5cb1009ca92a8e55f8ac7146eeef10c6c9fc.zip
Change placeholder
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
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