summaryrefslogtreecommitdiff
path: root/elm/DocEdit.elm
diff options
context:
space:
mode:
Diffstat (limited to 'elm/DocEdit.elm')
-rw-r--r--elm/DocEdit.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/DocEdit.elm b/elm/DocEdit.elm
index 0d654e59..ef4ce715 100644
--- a/elm/DocEdit.elm
+++ b/elm/DocEdit.elm
@@ -80,7 +80,7 @@ update msg model =
view : Model -> Html Msg
view model =
- Html.form [ onSubmit Submit ]
+ form_ Submit (model.state == Api.Loading)
[ div [ class "mainbox" ]
[ h1 [] [ text <| "Edit d" ++ String.fromInt model.id ]
, table [ class "formtable" ]