Skip to content

Commit ecf2418

Browse files
committed
Fix changing swimlane color to not reload webpage.
Thanks to xet7 !
1 parent 0c99cb3 commit ecf2418

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

client/components/swimlanes/swimlaneHeader.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,11 @@ BlazeComponent.extendComponent({
178178
events() {
179179
return [
180180
{
181+
'submit form'(event) {
182+
event.preventDefault();
183+
this.currentSwimlane.setColor(this.currentColor.get());
184+
Popup.back();
185+
},
181186
'click .js-palette-color'() {
182187
this.currentColor.set(this.currentData().color);
183188
},

0 commit comments

Comments
 (0)