aotrautils 0.0.213 → 0.0.214

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- /*utils COMMONS library associated with aotra version : «1.0.0.000 (19/07/2022-04:10:29)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (19/07/2022-04:19:44)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4828,7 +4828,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4828
4828
 
4829
4829
 
4830
4830
 
4831
- /*utils CLIENT library associated with aotra version : «1.0.0.000 (19/07/2022-04:10:29)»*/
4831
+ /*utils CLIENT library associated with aotra version : «1.0.0.000 (19/07/2022-04:19:44)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
  /* ## Utility global methods in a browser (htmljs) client environment.
4834
4834
  *
@@ -11678,7 +11678,7 @@ createFusrodaClient=function(doOnClientReady, doOnDataReception, urlParam=null,
11678
11678
 
11679
11679
 
11680
11680
 
11681
- /*utils GEOMETRY library associated with aotra version : «1.0.0.000 (19/07/2022-04:10:29)»*/
11681
+ /*utils GEOMETRY library associated with aotra version : «1.0.0.000 (19/07/2022-04:19:44)»*/
11682
11682
  /*-----------------------------------------------------------------------------*/
11683
11683
 
11684
11684
 
@@ -12884,7 +12884,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
12884
12884
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
12885
12885
 
12886
12886
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
12887
- /*utils SERVER library associated with aotra version : «1.0.0.000 (19/07/2022-04:10:29)»*/
12887
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (19/07/2022-04:19:44)»*/
12888
12888
  /*-----------------------------------------------------------------------------*/
12889
12889
 
12890
12890
 
@@ -14280,7 +14280,9 @@ class ListManager{
14280
14280
 
14281
14281
  if(!this.isSessionActive()) return false;
14282
14282
  const clientPosition=this.getItemPosition(clientId);
14283
- const result=((clientPosition-1)/*Because client position starts at 1 !*/<=this.maxItemsNumber);
14283
+ //CAUTION : Client position starts at 1 !
14284
+ const result=((clientPosition-1)<=this.maxItemsNumber && (clientPosition-1)<=this.simultaneousItemsNumber);
14285
+
14284
14286
  return result;
14285
14287
  }
14286
14288
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.213",
3
+ "version": "0.0.214",
4
4
  "main": "aotrautils.build.js",
5
5
  "description": "A library for vanilla javascript utils (client-side) used in aotra javascript CMS",
6
6
  "author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",