TypeError: can't access property "set", tpl.loading is undefined
on every click in the Login pane - Forgot Password, Self-Registration, Username
Change, Self delete user account, Display Authentication Method - and on the
E-mail pane's Save.
Blaze hands an event handler the instance of the template the handler is
REGISTERED on. When those handlers moved onto Template.general and Template.email -
which they had to, because Admin Panel / People renders those panes now - the
state they poke, `loading`, stayed behind on Template.setting. So the first line of
each handler threw, the setting was never written, and nothing on screen said so.
Both templates create their own `loading` now.
tests/adminTemplateState.test.cjs walks the Admin Panel components and fails when
an events or helpers block reads `tpl.<name>` that its own template never created,
so moving a handler without its state cannot pass again.
Thanks to xet7 !