Improved wording.
This commit is contained in:
parent
ff93c7f22c
commit
85b9875714
1 changed files with 1 additions and 1 deletions
|
@ -824,7 +824,7 @@ class App.ControllerModal extends App.Controller
|
|||
localOnClose: (e) =>
|
||||
diff = difference(@initalFormParams, @formParams())
|
||||
if @initalFormParamsIgnore is false && !_.isEmpty(diff)
|
||||
if !confirm(App.i18n.translateContent('The form content has been changed, discarded changes?'))
|
||||
if !confirm(App.i18n.translateContent('The form content has been changed. Do you want to close it and lose your changes?'))
|
||||
e.preventDefault()
|
||||
return
|
||||
@onClose(e)
|
||||
|
|
Loading…
Reference in a new issue