| @@ -170,11 +170,17 @@ | ||
| 170 | 170 | 'page_nav_tabs' => $this->page_structure_obj->get_nav_tabs(), |
| 171 | 171 | ) |
| 172 | 172 | ); |
| 173 | 173 | |
| 174 | - ?> | |
| 175 | - <div class="wpbc_settings_page_content"> | |
| 176 | - <div id="<?php echo esc_attr( $this->active_page ); ?>-admin-page" class="wrap wpbc_page wpbc_page_tab__<?php echo esc_attr( $this->active_tab ); ?> wpbc_page_subtab__<?php echo esc_attr( $this->active_subtab ); ?>"> | |
| 174 | + ?> | |
| 175 | + <div class="wpbc_settings_page_content"> | |
| 176 | + <?php | |
| 177 | + // Initialize shared sidebar and page-control tooltips once per request. | |
| 178 | + if ( function_exists( 'wpbc_bs_javascript_tooltips' ) ) { | |
| 179 | + wpbc_bs_javascript_tooltips(); | |
| 180 | + } | |
| 181 | + ?> | |
| 182 | + <div id="<?php echo esc_attr( $this->active_page ); ?>-admin-page" class="wrap wpbc_page wpbc_page_tab__<?php echo esc_attr( $this->active_tab ); ?> wpbc_page_subtab__<?php echo esc_attr( $this->active_subtab ); ?>"> | |
| 177 | 183 | <div class="wpbc_admin_message"></div> |
| 178 | 184 | <div class="wpbc_admin_page"> |
| 179 | 185 | <div id="ajax_working"> |
| 180 | 186 | <?php |