diff --git a/larigira/dbadmin/__init__.py b/larigira/dbadmin/__init__.py index 940cedf..3d846d6 100644 --- a/larigira/dbadmin/__init__.py +++ b/larigira/dbadmin/__init__.py @@ -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 )