Change placeholder

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2018-10-04 17:59:29 +02:00
parent 4c4f50ee2d
commit 37ae5cb100
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614
1 changed files with 2 additions and 2 deletions

View File

@ -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);