Skip to content

Commit 30355a8

Browse files
committed
Revert "Drop unused submit trigger in lifecycle UI"
This reverts commit a6c12e6. Turns out that we need this trigger for layout-only changes. This commit also tweaks code to trigger "ExportAsConfiguration()" on form submit, instead of the original imprecise version that was on ".submit" click.
1 parent 9bf0c0c commit 30355a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

share/static/js/lifecycleui-editor.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,10 @@ jQuery(function () {
242242
self.ToggleSimulation();
243243
return true;
244244
});
245+
246+
jQuery('form[name=ModifyLifecycle]').submit(function(e) {
247+
self.ExportAsConfiguration();
248+
});
245249
}
246250

247251
RenderNode() {

0 commit comments

Comments
 (0)