Fix changing swimlane color to not reload webpage.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-10-25 19:23:35 +03:00
parent 0c99cb3103
commit ecf2418347

View file

@ -178,6 +178,11 @@ BlazeComponent.extendComponent({
events() {
return [
{
'submit form'(event) {
event.preventDefault();
this.currentSwimlane.setColor(this.currentColor.get());
Popup.back();
},
'click .js-palette-color'() {
this.currentColor.set(this.currentData().color);
},