prevent issue submit after click in the floppy icon
parent
bd0ee00648
commit
ac98086a35
|
@ -505,7 +505,9 @@ EditableSubjectDirective = ($rootscope, $repo, $confirm, $loading, $qqueue, $tem
|
||||||
$el.find('.view-subject').hide()
|
$el.find('.view-subject').hide()
|
||||||
$el.find('input').focus()
|
$el.find('input').focus()
|
||||||
|
|
||||||
$el.on "click", ".save", ->
|
$el.on "click", ".save", (e) ->
|
||||||
|
e.preventDefault()
|
||||||
|
|
||||||
subject = $scope.item.subject
|
subject = $scope.item.subject
|
||||||
save(subject)
|
save(subject)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue