Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix morris comments
  • Loading branch information
nickvergessen committed Jul 27, 2016
commit a3d1cd4ad224059d3bc512b5591356d384d70f4c
7 changes: 2 additions & 5 deletions apps/workflowengine/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
return [];
});

OCA.WorkflowEngine = OCA.WorkflowEngine || {
OCA.WorkflowEngine = _.extend(OCA.WorkflowEngine || {}, {
availablePlugins: [],
availableChecks: [],

Expand All @@ -48,7 +48,7 @@
}
return undefined;
}
};
});

/**
* 888b d888 888 888
Expand Down Expand Up @@ -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());
}
Expand Down
2 changes: 1 addition & 1 deletion apps/workflowengine/templates/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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}}">
Expand Down