Skip to content

scheduleHorizStopsReport.jsp: render into page-local container, not <body>, and stop reusing fixed ids #35

Description

@aaronbrethorst

`reports/scheduleHorizStopsReport.jsp` appends each schedule's title and table directly to `$('body')` and reuses fixed ids (`#scheduleTitle`, `#dataTable`) for every iteration. After the layout migration, appending to `body` escapes the main pane and produces layout drift, and duplicate ids are invalid HTML when more than one schedule renders.

Fix:

  • Add a `<div id="scheduleContent">` to the page body, append into that container instead of `body`.

  • Replace the fixed ids with classes (or per-schedule ids derived from `schedule.directionId` + `schedule.serviceName`).

  • File: `transitclockWebapp/src/main/webapp/reports/scheduleHorizStopsReport.jsp`

  • Lines: 46–52, 107–108

Source

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions