Check documentation for the latest version of dhtmlxSuite attachVault DHTMLX Docs

attachVault

attaches dhtmlxVault to a window

dhtmlXVaultObject attachVault(object conf);
confobjectVault config for object-api initialization
dhtmlXVaultObjectdhtmlxVault instance

Example

var myVault = myWins.window(id).attachVault({
    uploadUrl:      "http://my_mega_server/upload_handler.php",
    swfUrl:         "http://my_mega_server/upload_handler.php",
    slUrl:          "http://my_mega_server/upload_handler.php",
    swfPath:        "dhxvault.swf",
    slXap:          "dhxvault.xap"
});

Details

if separate component files are used - dhtmlxvault.js should be included after dhtmlxcontainer.js

Change log

added in 3.6.1

Back to top