Update part.board.sidebarView.php
Don't use ng-keyup as per merge review Signed-off-by: Riccardo Padovani riccardo@rpadovani.com
This commit is contained in:
committed by
Julius Härtl
parent
2ca1e1eed8
commit
794fcb76b8
@@ -73,9 +73,9 @@
|
||||
<span ng-if="label.title">{{ label.title }}</span><i ng-if="!label.title"><br /></i>
|
||||
</span>
|
||||
<div class="label-edit" ng-if="label.edit">
|
||||
<div ng-style="{'background-color':'#{{label.color}}','color':'{{ textColor(label.color) }}','width':'100%'}>
|
||||
<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" 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"/>
|
||||
<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"/>
|
||||
</form>
|
||||
</div>
|
||||
<div class="colorselect">
|
||||
|
||||
Reference in New Issue
Block a user