             if focus
                 $(".new-value input").focus()
 
-        submit = debounce 2000, =>
-            promise = $repo.save($scope.project)
-            promise.then ->
-                $confirm.notify("success")
-
-            promise.then null, (data) ->
-                $confirm.notify("error", data._error_message)
-
-        saveValue = debounce 2000, (target) ->
+        saveValue = (target) ->
             form = target.parents("form").checksley()
             return if not form.validate()
 

            $scope.newValue.order = if $scope.maxValueOrder then $scope.maxValueOrder + 1 else 1

            promise = $repo.create(valueType, $scope.newValue)
            promise.then =>
                $ctrl.loadValues().then ->
                    animationFrame.add () ->
                         goToBottomList()

                $el.find(".new-value").addClass("hidden")
                initializeNewValue()

            promise.then null, (data) ->

                value.revert()
                row.siblings(".visualization").removeClass('hidden')

        $el.on "click", ".show-add-new", (event) ->
            event.preventDefault()
            $el.find(".new-value").removeClass('hidden')
