prevent tag versioning error

stable
Juanfran 2016-01-20 13:15:05 +01:00
parent 441e9d2ac0
commit e7430d42ba
1 changed files with 2 additions and 1 deletions

View File

@ -286,10 +286,11 @@ TagLineDirective = ($rootScope, $repo, $rs, $confirm, $qqueue, $template, $compi
$confirm.notify("error")
model.revert()
$model.$setViewValue(model)
$repo.save(model).then(onSuccess, onError)
hideSaveButton()
return $repo.save(model).then(onSuccess, onError)
deleteValue = $qqueue.bindAdd (value) ->
value = trim(value.toLowerCase())
return if value.length == 0