'New school' shows too many tabs

Issue #1389 resolved
Brian Lewis repo owner created an issue

When selecting Add in the Schools List, the school form is opened on an empty school, but still the dashboard is displayed, and the exams tab. These should be disabled on New -
Further the console fills up with errors such as 'Cannot read properties of undefined' These mainly come from SchoolDashboard.Component

Comments (2)

  1. Brian Lewis reporter

    Turns out to be a whole lot of places where the ng-disabled attribute is misspelt ng-disable
    This has propagated through year of copy&paste.
    Never bothered us much as for example Schools, Teachers, Exams, Surveys are all created though import, so we don;t often use the ‘Add’ option in these features.

    Note also that we need to check in all the subfolders of Views, since localised versions of e.g. SchoolItem have this problem

  2. Log in to comment