fix #2053 - fix hide floppy in tags autocomplete

stable
Juanfran 2015-01-28 08:55:42 +01:00
parent 2ad0b9f490
commit 11069f44da
2 changed files with 7 additions and 4 deletions

View File

@ -138,6 +138,8 @@ LbTagLineDirective = ($rs, $template) ->
$scope.$apply ->
$model.$setViewValue(tags)
hideSaveButton()
deleteValue = (value) ->
value = trim(value.toLowerCase())
return if value.length == 0
@ -153,7 +155,6 @@ LbTagLineDirective = ($rs, $template) ->
addValue(value)
resetInput()
hideSaveButton()
removeInputLastCharacter = (input) =>
inputValue = input.val()
@ -288,6 +289,8 @@ TagLineDirective = ($rootScope, $repo, $rs, $confirm, $qqueue, $template) ->
$model.$setViewValue(model)
$repo.save(model).then(onSuccess, onError)
hideSaveButton()
deleteValue = $qqueue.bindAdd (value) ->
value = trim(value.toLowerCase())
return if value.length == 0
@ -313,7 +316,6 @@ TagLineDirective = ($rootScope, $repo, $rs, $confirm, $qqueue, $template) ->
addValue(value)
resetInput()
hideSaveButton()
removeInputLastCharacter = (input) =>
inputValue = input.val()

View File

@ -21,6 +21,9 @@
.ui-state-focus {
background: $fresh-taiga;
}
li {
cursor: pointer;
}
}
.ui-helper-hidden-accessible {
@ -53,5 +56,3 @@
@extend %small;
}
}