mirror of https://github.com/zulip/zulip.git
65168c36dc
The organization_settings_tip is not visible if organization settings overlay is opened with any section other than organization profile, settings and permissions. This is because insert_tip_box is called from settings_org.build_page, which is called only when we open any of the above three sections after opening the overlay and not others. We should call insert_tip_box function from admin.build_page instead of settings_org.build_page because we need to insert the admin tips each time the organization settings overlay is opened, irrespective of the section which opens first. The function insert_tip_box is moved to admin.js from settings_org.js, because settings_org.js file handles the organization profile, settings and permissions page only, while we display the tips in many other sections including bots, custom emoji, etc. Thus, it makes sense to move insert_tip_box function to admin.js, which renders the complete organization settings overlay using render_admin_tab. |
||
---|---|---|
.. | ||
casper_lib | ||
casper_tests | ||
node_tests | ||
puppeteer_lib | ||
puppeteer_tests | ||
zjsunit | ||
.eslintrc.json | ||
run-casper |