'New school' shows too many tabs
Issue #1389
resolved
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)
-
reporter -
reporter - changed status to resolved
fix:(ui): ng-disable => ng-disabled to suppress tabs on New ite
Resolves
#1389→ <<cset c3a73ff5d965>>
- Log in to comment
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