prevent issue submit after click in the floppy icon

stable
Juanfran 2015-06-16 14:12:08 +02:00
parent bd0ee00648
commit ac98086a35
1 changed files with 3 additions and 1 deletions

View File

@ -505,7 +505,9 @@ EditableSubjectDirective = ($rootscope, $repo, $confirm, $loading, $qqueue, $tem
$el.find('.view-subject').hide()
$el.find('input').focus()
$el.on "click", ".save", ->
$el.on "click", ".save", (e) ->
e.preventDefault()
subject = $scope.item.subject
save(subject)