         $el.on "keyup", ".edition-mode input", (event) ->
             if event.keyCode == 13
                 target = angular.element(event.currentTarget)
-                saveWebhook(target)
+                save(target)
             else if event.keyCode == 27
                 target = angular.element(event.currentTarget)
                 cancel(target)

            promise.then null, (data) ->
                $confirm.notify("error")
                form.setErrors(data)

        formDOMNode.on "click", ".cancel-new", (event) ->
            $scope.$apply ->

                    formDOMNode.addClass("hidden")
                    addWebhookDOMNode.removeClass("hidden")

        save = debounce 2000, () ->
            form = formDOMNode.checksley()
            return if not form.validate()

