1
0
Fork 0
Dieser Commit ist enthalten in:
Angus McLeod 2018-06-22 00:03:29 +10:00
Ursprung 0dab4f4964
Commit 72810b755a

Datei anzeigen

@ -126,7 +126,7 @@ class CustomWizard::Builder
params[:key] = field_template['key'] if field_template['key'] params[:key] = field_template['key'] if field_template['key']
## Load previously submitted values ## Load previously submitted values
if @submissions.last && @wizard.unfinished? if @submissions.last && !@submissions.last.key?("submitted_at")
submission = @submissions.last submission = @submissions.last
params[:value] = submission[field_template['id']] if submission[field_template['id']] params[:value] = submission[field_template['id']] if submission[field_template['id']]
end end