Could you add the current container's folderType to the JavaScript window.LABKEY.container object so that it is not necessary to look it up separately using a call to the LABKEY.Security.getContainers() function?
I like to modify the behavior of some JavaScript functions based on the current container's folderType. |