summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/workflowengine/js/filemimetypeplugin.js4
-rw-r--r--apps/workflowengine/js/requesturlplugin.js4
-rw-r--r--apps/workflowengine/js/requestuseragentplugin.js4
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/workflowengine/js/filemimetypeplugin.js b/apps/workflowengine/js/filemimetypeplugin.js
index 9fc9e3452f4..fd3f6a9ae63 100644
--- a/apps/workflowengine/js/filemimetypeplugin.js
+++ b/apps/workflowengine/js/filemimetypeplugin.js
@@ -41,9 +41,9 @@
return;
}
- var placeholder = t('workflowengine', 'text/plain');
+ var placeholder = 'text/plain';
if (check['operator'] === 'matches' || check['operator'] === '!matches') {
- placeholder = t('workflowengine', '/^text\\/(plain|html)$/i');
+ placeholder = '/^text\\/(plain|html)$/i';
if (this._validateRegex(check['value'])) {
$(element).removeClass('invalid-input');
diff --git a/apps/workflowengine/js/requesturlplugin.js b/apps/workflowengine/js/requesturlplugin.js
index 5f21d2a59fc..7c81deaaf33 100644
--- a/apps/workflowengine/js/requesturlplugin.js
+++ b/apps/workflowengine/js/requesturlplugin.js
@@ -42,10 +42,10 @@
return;
}
- var placeholder = t('workflowengine', 'https://localhost/index.php');
+ var placeholder = 'https://localhost/index.php';
if (check['operator'] === 'matches' || check['operator'] === '!matches') {
- placeholder = t('workflowengine', '/^https\\:\\/\\/localhost\\/index\\.php$/i');
+ placeholder = '/^https\\:\\/\\/localhost\\/index\\.php$/i';
}
$(element).css('width', '250px')
diff --git a/apps/workflowengine/js/requestuseragentplugin.js b/apps/workflowengine/js/requestuseragentplugin.js
index 8413d52ac43..42e3f6b13d2 100644
--- a/apps/workflowengine/js/requestuseragentplugin.js
+++ b/apps/workflowengine/js/requestuseragentplugin.js
@@ -42,10 +42,10 @@
return;
}
- var placeholder = t('workflowengine', 'Mozilla/5.0 User Agent');
+ var placeholder = 'Mozilla/5.0 User Agent';
if (check['operator'] === 'matches' || check['operator'] === '!matches') {
- placeholder = t('workflowengine', '/^Mozilla\\/5\\.0 (.?)$/i');
+ placeholder = '/^Mozilla\\/5\\.0 (.?)$/i';
}
$(element).css('width', '250px')