Skip to content

Commit 1741058

Browse files
authored
check for valid data before resetting (#399)
1 parent 04966ab commit 1741058

File tree

1 file changed

+5
-0
lines changed
  • src/FormBuilderBundle/Resources/public/js/extjs/_form/tab/output-workflow/channel

1 file changed

+5
-0
lines changed

src/FormBuilderBundle/Resources/public/js/extjs/_form/tab/output-workflow/channel/object.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,11 @@ Formbuilder.extjs.formPanel.outputWorkflow.channel.object = Class.create(Formbui
295295
},
296296

297297
resetDynamicObjectResolverData: function () {
298+
299+
if (this.data === null) {
300+
return;
301+
}
302+
298303
this.data.dynamicObjectResolver = null;
299304
this.data.dynamicObjectResolverClass = null;
300305
},

0 commit comments

Comments
 (0)