Answer the question
In order to leave comments, you need to log in
How to fix BX.Dexie is not a constructor error?
Good afternoon. Site on Bitrix. When loading the site in Firefox 72.0.2 browser (and possibly in any Firefox), the TypeError error pops up in the console: BX.Dexie is not a constructor. Swears specifically on this block of code
BX.frameCache.openDatabase = function()
{
var isDatabaseOpened = (this.cacheDataBase != null);
if(!isDatabaseOpened)
{
this.cacheDataBase = new BX.Dexie("composite");
if(this.cacheDataBase != null)
{
this.cacheDataBase.version(1).stores({
composite: '&ID,CONTENT,HASH,PROPS'
});
isDatabaseOpened = true;
}
}
return isDatabaseOpened;
};
this.cacheDataBase = new BX.Dexie("composite");
Answer the question
In order to leave comments, you need to log in
Bitrix has implemented a UI module for interface components. This module includes the Dexie library
. It seems that we simply do not have the module installed in the system.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question