more useful redirect after submitting time
This commit is contained in:
parent
c78e90d240
commit
881d5aeefe
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ def edit_time(alarmid):
|
|||
data = receiver(form)
|
||||
model.update_alarm(alarmid, data)
|
||||
model.reload()
|
||||
return redirect(url_for("db.events_list", _anchor="event-%d" % alarmid))
|
||||
return redirect(url_for("db.events_calendar", highlight="%d" % alarmid))
|
||||
return render_template(
|
||||
"add_time_kind.html", form=form, kind=kind, mode="edit", alarmid=alarmid
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue