Fixing custom fields i18n

stable
Alejandro Alonso 2015-05-18 13:50:44 +02:00
parent c2f6401b80
commit 452cd118de
1 changed files with 2 additions and 0 deletions

View File

@ -170,11 +170,13 @@ CustomAttributeValueDirective = ($template, $selectedText, $compile) ->
return if $selectedText.get().length
render(attributeValue, true)
$el.find("input[name='description']").focus().select()
$scope.$apply()
$el.on "click", "a.icon-edit", (event) ->
event.preventDefault()
render(attributeValue, true)
$el.find("input[name='description']").focus().select()
$scope.$apply()
## Actions (on edit mode)
submit = debounce 2000, (event) =>