Fix morris comments
This commit is contained in:
parent
681eebcfe6
commit
a3d1cd4ad2
|
@ -35,7 +35,7 @@
|
||||||
return [];
|
return [];
|
||||||
});
|
});
|
||||||
|
|
||||||
OCA.WorkflowEngine = OCA.WorkflowEngine || {
|
OCA.WorkflowEngine = _.extend(OCA.WorkflowEngine || {}, {
|
||||||
availablePlugins: [],
|
availablePlugins: [],
|
||||||
availableChecks: [],
|
availableChecks: [],
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
}
|
}
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
};
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 888b d888 888 888
|
* 888b d888 888 888
|
||||||
|
@ -337,9 +337,6 @@
|
||||||
_initialize: function(classname) {
|
_initialize: function(classname) {
|
||||||
OCA.WorkflowEngine.availablePlugins = OC.Plugins.getPlugins('OCA.WorkflowEngine.CheckPlugins');
|
OCA.WorkflowEngine.availablePlugins = OC.Plugins.getPlugins('OCA.WorkflowEngine.CheckPlugins');
|
||||||
_.each(OCA.WorkflowEngine.availablePlugins, function(plugin) {
|
_.each(OCA.WorkflowEngine.availablePlugins, function(plugin) {
|
||||||
if (_.isFunction(plugin.initialize)) {
|
|
||||||
plugin.initialize();
|
|
||||||
}
|
|
||||||
if (_.isFunction(plugin.getCheck)) {
|
if (_.isFunction(plugin.getCheck)) {
|
||||||
OCA.WorkflowEngine.availableChecks.push(plugin.getCheck());
|
OCA.WorkflowEngine.availableChecks.push(plugin.getCheck());
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
</select>
|
</select>
|
||||||
<select class="check-operator">
|
<select class="check-operator">
|
||||||
{{#each (getOperators class)}}
|
{{#each (getOperators class)}}
|
||||||
<option value="{{operator}}" {{selectItem this.operator ../operator}}>{{name}}</option>
|
<option value="{{operator}}" {{selectItem operator ../operator}}>{{name}}</option>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</select>
|
</select>
|
||||||
<input type="text" class="check-value" value="{{value}}">
|
<input type="text" class="check-value" value="{{value}}">
|
||||||
|
|
Loading…
Reference in New Issue