summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine')
-rw-r--r--apps/workflowengine/js/admin.js2
-rw-r--r--apps/workflowengine/templates/admin.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/workflowengine/js/admin.js b/apps/workflowengine/js/admin.js
index 2c6fa54d87d..0357d741ab1 100644
--- a/apps/workflowengine/js/admin.js
+++ b/apps/workflowengine/js/admin.js
@@ -21,7 +21,7 @@
(function() {
Handlebars.registerHelper('selectItem', function(currentValue, itemValue) {
if(currentValue === itemValue) {
- return 'selected=selected';
+ return 'selected="selected"';
}
return "";
diff --git a/apps/workflowengine/templates/admin.php b/apps/workflowengine/templates/admin.php
index 8f0124c5cbe..500300f93b3 100644
--- a/apps/workflowengine/templates/admin.php
+++ b/apps/workflowengine/templates/admin.php
@@ -55,12 +55,12 @@
<div class="check" data-id="{{@index}}">
<select class="check-class">
{{#each ../classes}}
- <option value="{{class}}" {{selectItem class ../class}}>{{name}}</option>
+ <option value="{{class}}" {{{selectItem class ../class}}}>{{name}}</option>
{{/each}}
</select>
<select class="check-operator">
{{#each (getOperators class)}}
- <option value="{{operator}}" {{selectItem operator ../operator}}>{{name}}</option>
+ <option value="{{operator}}" {{{selectItem operator ../operator}}}>{{name}}</option>
{{/each}}
</select>
<input type="text" class="check-value" value="{{value}}">