Fix morris comments

This commit is contained in:
Joas Schilling 2016-07-27 10:38:03 +02:00
parent 6a21289378
commit 34f46c8e7f
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
2 changed files with 3 additions and 6 deletions

View File

@ -35,7 +35,7 @@
return [];
});
OCA.WorkflowEngine = OCA.WorkflowEngine || {
OCA.WorkflowEngine = _.extend(OCA.WorkflowEngine || {}, {
availablePlugins: [],
availableChecks: [],
@ -48,7 +48,7 @@
}
return undefined;
}
};
});
/**
* 888b d888 888 888
@ -337,9 +337,6 @@
_initialize: function(classname) {
OCA.WorkflowEngine.availablePlugins = OC.Plugins.getPlugins('OCA.WorkflowEngine.CheckPlugins');
_.each(OCA.WorkflowEngine.availablePlugins, function(plugin) {
if (_.isFunction(plugin.initialize)) {
plugin.initialize();
}
if (_.isFunction(plugin.getCheck)) {
OCA.WorkflowEngine.availableChecks.push(plugin.getCheck());
}

View File

@ -48,7 +48,7 @@
</select>
<select class="check-operator">
{{#each (getOperators class)}}
<option value="{{operator}}" {{selectItem this.operator ../operator}}>{{name}}</option>
<option value="{{operator}}" {{selectItem operator ../operator}}>{{name}}</option>
{{/each}}
</select>
<input type="text" class="check-value" value="{{value}}">