Signals ========= Baton provides a dispatcher that can be used to register function that will be called when some events occurr. At this moment Baton emits four types of events: - ``onNavbarReady``: dispatched when the navbar is fully rendered - ``onMenuReady``: dispatched when the menu is fully rendered (probably the last event fired, since the menu contents are retrieves async) - ``onTabsReady``: dispatched when the changeform tabs are fully - ``onTabChanged``: dispatched when the current changeform tab is changed - ``onMenuError``: dispatched if the request sent to retrieve menu contents fails - ``onReady``: dispatched when Baton js has finished its sync job In order to use them just override the baton `admin/base_site.html` template and register your listeners **before** calling `Baton.init`, i.e. ::