Descriptions’ textareas fixed.

master
Luka Vandervelden 5 years ago
parent dd51b24264
commit dba6a026fc

@ -125,7 +125,7 @@ Task = (self, project) ->
if model.editing == self.id + ".description"
h \form.form [
h \textarea.textarea {
value: self.description
value: model.editing-data
oninput: (e) ->
model.editing-data := e.target.value
}
@ -146,6 +146,7 @@ Task = (self, project) ->
if is-selected
h \span.button.is-small {
onclick: ->
model.editing-data := self.description
model.editing := self.id + ".description"
} [
"edit"

Loading…
Cancel
Save