blob: b3f9353608adf84ac82a2a28c7d8d7d0fc2b1094 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
BlazeComponent.extendComponent({
editTitle(evt) {
evt.preventDefault();
const newTitle = this.childComponents('inlinedForm')[0].getValue().trim();
const swimlane = this.currentData();
if (newTitle) {
swimlane.rename(newTitle.trim());
}
},
events() {
return [{
submit: this.editTitle,
}];
},
}).register('swimlaneHeader');
|