issue with initialize the dhtmlxvault


#1

Hi
When I initialize dhtmlxvault, I get a error like below:
Uncaught TypeError: Cannot read property ‘_eventable’ of undefined

Which is “window.dhx4._eventable(this);” code, and window.dhx4 is undefined.

The code I use to initialize is this:
javascript:
var myVault = new dhtmlXVaultObject({
parent: “vaultObj”, // html container for vault
uploadUrl: “server/upload_handler.php”, // html4/html5 upload url
swfUrl: “server/upload_handler.php”, // flash upload url
slUrl: “http://server/upload_handler.php”, // silverlight upload url, FULL path required
swfPath: “dhxvault.swf”, // path to flash uploader
slXap: “dhxvault.xap”, // path to silverlight uploader
skin: “dhx_skyblue”,
buttonUpload: true,
autoStart: false
});

html:

Anyone know why I get the error? what am I doing wrong. please help me.

Thanks,


#2

Hi
Please, provie us completed demo with link to this topic in support@dhtmlx.com
docs.dhtmlx.com/auxiliary_docs__ … pport.html


#3

Thanks Darya,
After I cleaned up browser cache, it works well.