Ability to save tag changes with enter
Fix issue #306 Signed-off-by: Riccardo Padovani <riccardo@rpadovani.com>
This commit is contained in:
committed by
Julius Härtl
parent
063bf59ddb
commit
2ca1e1eed8
@@ -75,7 +75,7 @@
|
||||
<div class="label-edit" ng-if="label.edit">
|
||||
<div ng-style="{'background-color':'#{{label.color}}','color':'{{ textColor(label.color) }}','width':'100%'}>
|
||||
<form ng-submit="labelUpdate(label)">
|
||||
<input type="text" ng-model="label.title" class="input-inline" ng-style="{'background-color':'#{{label.color}}','color':'{{ label.color|textColorFilter }}'}" autofocus-on-insert maxlength="100"/>
|
||||
<input type="text" ng-model="label.title" ng-keyup="$event.keyCode === 13 && labelUpdate(label)" class="input-inline" ng-style="{'background-color':'#{{label.color}}','color':'{{ label.color|textColorFilter }}'}" autofocus-on-insert maxlength="100"/>
|
||||
</form>
|
||||
</div>
|
||||
<div class="colorselect">
|
||||
|
||||
Reference in New Issue
Block a user