add prevent default in the save description
parent
1eb657ff7e
commit
cc9c4bd042
|
@ -536,7 +536,9 @@ EditableDescriptionDirective = ($rootscope, $repo, $confirm, $compile, $loading,
|
||||||
$el.find('.view-description').hide()
|
$el.find('.view-description').hide()
|
||||||
$el.find('textarea').focus()
|
$el.find('textarea').focus()
|
||||||
|
|
||||||
$el.on "click", ".save", ->
|
$el.on "click", ".save", (e) ->
|
||||||
|
e.preventDefault()
|
||||||
|
|
||||||
description = $scope.item.description
|
description = $scope.item.description
|
||||||
save(description)
|
save(description)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue