1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00

Working on kanban

This commit is contained in:
Hillel Coren 2017-12-20 12:43:15 +02:00
parent e9185d0dbc
commit 1339d01d8e

View File

@ -639,7 +639,7 @@
</div> </div>
</div> </div>
<div class="edit"> <div class="edit">
<textarea data-bind="value: description, valueUpdate: 'afterkeydown', enterkey: saveEditTask"></textarea> <textarea data-bind="value: description, valueUpdate: 'afterkeydown', enterkey: saveEditTask, escapekey: cancelEditTask"></textarea>
<div class="pull-right"> <div class="pull-right">
<button type='button' class='btn btn-default btn-sm' data-bind="click: cancelEditTask"> <button type='button' class='btn btn-default btn-sm' data-bind="click: cancelEditTask">
{{ trans('texts.cancel') }} {{ trans('texts.cancel') }}
@ -663,7 +663,7 @@
</a> </a>
</div> </div>
<div class="edit"> <div class="edit">
<textarea data-bind="value: description, valueUpdate: 'afterkeydown', enterkey: $parent.saveNewTask"></textarea> <textarea data-bind="value: description, valueUpdate: 'afterkeydown', enterkey: $parent.saveNewTask, escapekey: $parent.cancelNewTask"></textarea>
<div class="pull-right"> <div class="pull-right">
<button type='button' class='btn btn-default btn-sm' data-bind="click: $parent.cancelNewTask"> <button type='button' class='btn btn-default btn-sm' data-bind="click: $parent.cancelNewTask">
{{ trans('texts.cancel') }} {{ trans('texts.cancel') }}