Descriptions’ textareas fixed.
This commit is contained in:
parent
dd51b24264
commit
dba6a026fc
@ -125,7 +125,7 @@ Task = (self, project) ->
|
|||||||
if model.editing == self.id + ".description"
|
if model.editing == self.id + ".description"
|
||||||
h \form.form [
|
h \form.form [
|
||||||
h \textarea.textarea {
|
h \textarea.textarea {
|
||||||
value: self.description
|
value: model.editing-data
|
||||||
oninput: (e) ->
|
oninput: (e) ->
|
||||||
model.editing-data := e.target.value
|
model.editing-data := e.target.value
|
||||||
}
|
}
|
||||||
@ -146,6 +146,7 @@ Task = (self, project) ->
|
|||||||
if is-selected
|
if is-selected
|
||||||
h \span.button.is-small {
|
h \span.button.is-small {
|
||||||
onclick: ->
|
onclick: ->
|
||||||
|
model.editing-data := self.description
|
||||||
model.editing := self.id + ".description"
|
model.editing := self.id + ".description"
|
||||||
} [
|
} [
|
||||||
"edit"
|
"edit"
|
||||||
|
Loading…
Reference in New Issue
Block a user