assets/themes/j1/core/js/template.js in j1-template-2024.0.0 vs assets/themes/j1/core/js/template.js in j1-template-2024.0.1
- old
+ new
@@ -4103,10 +4103,20 @@
$('#searchModal').modal('show');
});
} // END QuickSearch
// ---------------------------------------------------------------------
+ // DocSearch dialog
+ //
+ if ($('li.documind')) {
+ logger.debug('register SHOW event for J1 DocSearch');
+ $('li.documind > a', this).on('click', function (e) {
+ j1.adapter.docsearch.showDialog();
+ });
+ } // END DocSearch
+
+ // ---------------------------------------------------------------------
// Translator dialog
//
if ($('li.translate')) {
logger.debug('register SHOW event for J1 Translator');
$('li.translate > a', this).on('click', function (e) {
@@ -4120,21 +4130,21 @@
if ($('li.speak')) {
logger.debug('register SHOW event for J1 Speak2Me');
$('li.speak > a', this).on('click', function (e) {
j1.adapter.speak2me.showDialog();
});
- } // END NBI Notebooks
+ } // END Speak2Me
// ---------------------------------------------------------------------
// NBI Notebooks dialog
//
- if ($('li.nbi-notebooks')) {
- logger.debug('register SHOW event for J1 NBI');
- $('li.nbi-notebooks > a', this).on('click', function (e) {
- j1.adapter.nbinteract.showDialog();
- });
- } // END NBI Notebooks
+ // if ($('li.nbi-notebooks')) {
+ // logger.debug('register SHOW event for J1 NBI');
+ // $('li.nbi-notebooks > a', this).on('click', function(e) {
+ // j1.adapter.nbinteract.showDialog();
+ // });
+ // } // END NBI Notebooks
// ---------------------------------------------------------------------
// CookieConsent dialog
//
if ($('li.cookie-consent')) {
@@ -4402,9 +4412,11 @@
// Replace Macro values only
j1.updateMacros(user_data);
return true;
} // END updateSidebar
}; // end return (object)
+
+ // }( j1, window, jQuery );
}(jQuery);
/***/ }),
/***/ 8814:
\ No newline at end of file