aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/LoggedIn/Income
diff options
context:
space:
mode:
authorJoris2016-06-26 15:01:14 +0200
committerJoris2016-06-26 15:01:14 +0200
commit7ec5b5601fd655643ad0fe1120d56bc9b71674f6 (patch)
tree48dfdb9139cb2d0befdb69595dffdf8462c86b6f /src/client/elm/LoggedIn/Income
parent27bf42c165e5a9fa242e0679fca621f2a6dc4adb (diff)
Set up enter form submi behaviour on dialog
Diffstat (limited to 'src/client/elm/LoggedIn/Income')
-rw-r--r--src/client/elm/LoggedIn/Income/View.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/elm/LoggedIn/Income/View.elm b/src/client/elm/LoggedIn/Income/View.elm
index f6cf8f8..6466f70 100644
--- a/src/client/elm/LoggedIn/Income/View.elm
+++ b/src/client/elm/LoggedIn/Income/View.elm
@@ -117,7 +117,7 @@ incomeView loggedData (incomeId, income) =
, title = getMessage "ConfirmIncomeDelete" loggedData.translations
, body = always <| text ""
, confirm = getMessage "Confirm" loggedData.translations
- , confirmMsg = always <| Ok <| Msg.UpdateLoggedIn <| LoggedInMsg.DeleteIncome incomeId
+ , confirmMsg = always <| Msg.Dialog <| Dialog.UpdateAndClose <| Msg.UpdateLoggedIn <| LoggedInMsg.DeleteIncome incomeId
, undo = getMessage "Undo" loggedData.translations
}
in button