j1-template 2022.4.5 → 2022.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/themes/j1/adapter/js/nbinteract.js +21 -0
- data/assets/themes/j1/core/js/template.js +1 -1
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +10 -0
- data/assets/themes/j1/modules/translator/js/translator.js +6 -1
- data/lib/j1/version.rb +3 -3
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7339315e458d057b0c7177b020010850d561ab42a528bce4b39c2f447845f1f9
|
|
4
|
+
data.tar.gz: 054cd147a7f64446ec2e72f9c3bbfd9aab47280a033de1a1ca1c150e90623a42
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3335eae6f0b60a87118bf40aa582cc7abd687d79f92a576393bdffbf201b3fb17c5e903ff01f27dafe289eaad0ef27b71bbd23421a3806e17896aaf11f997966
|
|
7
|
+
data.tar.gz: b7c740ddf3467883823a266e3f50e2ceb7879dc86a0037997a08a353426595d02827ad69d94e16f8b4c77fac4307bf453ffb6596eea21e20e15d64fc2098fedf
|
|
@@ -1366,6 +1366,27 @@ j1.adapter.nbinteract = (function (j1, window) {
|
|
|
1366
1366
|
logger.warn('\n' + 'probably no|wrong `contentURL` set');
|
|
1367
1367
|
});
|
|
1368
1368
|
}
|
|
1369
|
+
|
|
1370
|
+
// ---------------------------------------------------------------------
|
|
1371
|
+
// register events for the dialog (modal)
|
|
1372
|
+
// ---------------------------------------------------------------------
|
|
1373
|
+
|
|
1374
|
+
// ---------------------------------------------------------------------
|
|
1375
|
+
// on 'show'
|
|
1376
|
+
// ---------------------------------------------------------------------
|
|
1377
|
+
_this.$modal.on('show.bs.modal', function () {
|
|
1378
|
+
// hide the menubar for the modal header
|
|
1379
|
+
$('#navigator_nav_navbar').hide();
|
|
1380
|
+
}); // END modal on 'show'
|
|
1381
|
+
|
|
1382
|
+
// ---------------------------------------------------------------------
|
|
1383
|
+
// on 'hidden'
|
|
1384
|
+
// ---------------------------------------------------------------------
|
|
1385
|
+
_this.$modal.on('hidden.bs.modal', function () {
|
|
1386
|
+
// if the modal is closed, show the menubar
|
|
1387
|
+
$('#navigator_nav_navbar').show();
|
|
1388
|
+
}); // END modal on 'hidden'
|
|
1389
|
+
|
|
1369
1390
|
}.bind(_this));
|
|
1370
1391
|
}, // END loadDialog
|
|
1371
1392
|
|
|
@@ -2774,7 +2774,7 @@ module.exports = function navigator(options) {
|
|
|
2774
2774
|
$('li.nbi-notebooks > a', this).on('click', function (e) {
|
|
2775
2775
|
j1.adapter.nbinteract.showDialog();
|
|
2776
2776
|
});
|
|
2777
|
-
} // END
|
|
2777
|
+
} // END NBI Notebooks
|
|
2778
2778
|
// ---------------------------------------------------------------------
|
|
2779
2779
|
// CookieConsent dialog
|
|
2780
2780
|
//
|
|
@@ -209,10 +209,20 @@ function CookieConsent(props) {
|
|
|
209
209
|
// register events for the dialog (modal)
|
|
210
210
|
// ---------------------------------------------------------------------
|
|
211
211
|
|
|
212
|
+
// ---------------------------------------------------------------------
|
|
213
|
+
// on 'show'
|
|
214
|
+
// ---------------------------------------------------------------------
|
|
215
|
+
self.$modal.on('show.bs.modal', function () {
|
|
216
|
+
// hide the menubar for the modal header
|
|
217
|
+
$('#navigator_nav_navbar').hide();
|
|
218
|
+
}); // END modal on 'show'
|
|
219
|
+
|
|
212
220
|
// ---------------------------------------------------------------------
|
|
213
221
|
// on 'hidden'
|
|
214
222
|
// ---------------------------------------------------------------------
|
|
215
223
|
self.$modal.on('hidden.bs.modal', function () {
|
|
224
|
+
// if the modal is closed, show the menubar
|
|
225
|
+
$('#navigator_nav_navbar').show();
|
|
216
226
|
// process settings after the user has made his selections
|
|
217
227
|
executeFunctionByName (self.props.postSelectionCallback, window);
|
|
218
228
|
}); // END modal on 'hidden'
|
|
@@ -316,7 +316,10 @@ function Translator(props) {
|
|
|
316
316
|
var msDropdownJSON;
|
|
317
317
|
var index;
|
|
318
318
|
|
|
319
|
-
logger.
|
|
319
|
+
logger.debug('\n' + 'show.bs.modal: entered');
|
|
320
|
+
|
|
321
|
+
// hide the menubar for the modal header
|
|
322
|
+
$('#navigator_nav_navbar').hide();
|
|
320
323
|
|
|
321
324
|
// create msDropdown from JSON data
|
|
322
325
|
$.when (
|
|
@@ -384,6 +387,8 @@ function Translator(props) {
|
|
|
384
387
|
// ---------------------------------------------------------------------
|
|
385
388
|
self.$modal.on('hidden.bs.modal', function () {
|
|
386
389
|
$('body').removeClass('stop-scrolling');
|
|
390
|
+
// if the modal is closed, show the menubar
|
|
391
|
+
$('#navigator_nav_navbar').show();
|
|
387
392
|
// run the postSelectionCallback for (final) translation
|
|
388
393
|
executeFunctionByName (self.props.postSelectionCallback, window);
|
|
389
394
|
}); // END modal on 'hidden'
|
data/lib/j1/version.rb
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module J1
|
|
2
|
-
VERSION = '2022.4.
|
|
3
|
-
end
|
|
1
|
+
module J1
|
|
2
|
+
VERSION = '2022.4.6'
|
|
3
|
+
end
|
data/lib/starter_web/Gemfile
CHANGED
|
@@ -53,7 +53,7 @@ gem 'jekyll', '~> 4.2'
|
|
|
53
53
|
|
|
54
54
|
# Theme Rubies, default: J1 Template (NOT used for the development system)
|
|
55
55
|
#
|
|
56
|
-
gem 'j1-template', '~> 2022.4.
|
|
56
|
+
gem 'j1-template', '~> 2022.4.6'
|
|
57
57
|
|
|
58
58
|
# ------------------------------------------------------------------------------
|
|
59
59
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
data/lib/starter_web/_config.yml
CHANGED
|
@@ -53,7 +53,7 @@ environment: development
|
|
|
53
53
|
# ------------------------------------------------------------------------------
|
|
54
54
|
# Sets the build version of J1 Template Gem
|
|
55
55
|
#
|
|
56
|
-
version: 2022.4.
|
|
56
|
+
version: 2022.4.6
|
|
57
57
|
|
|
58
58
|
# version
|
|
59
59
|
# ------------------------------------------------------------------------------
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: j1-template
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2022.4.
|
|
4
|
+
version: 2022.4.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- juergen_jekyll_one
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-07-
|
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|