Skip to content

Commit

Permalink
Update item.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer authored Aug 26, 2018
1 parent 37d31ad commit 8d2f0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WorkflowGuiBundle/Resources/public/js/workflow/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ pimcore.plugin.workflowgui.item = Class.create({

var allowedStatesStore = this.deepCloneStore(this.statesStore);

var events = Object.extend(Ext.isObject(record.get("events")) ? record.get("events") : {});
var events = Object.assign(Ext.isObject(record.get("events")) ? record.get("events") : {});
Ext.applyIf(events, {
'before' : [], 'success' : [], 'failure' : []
});
Expand Down

0 comments on commit 8d2f0f4

Please sign in to comment.