         $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)

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

        formDOMNode.on "click", ".add-new", debounce 2000, (event) ->
            event.preventDefault()
            form = formDOMNode.checksley()
            return if not form.validate()


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

        formDOMNode.on "click", ".add-new", (event) ->
            event.preventDefault()
            save()

        formDOMNode.on "keyup", "input", (event) ->
            if event.keyCode == 13
                save()

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