I'm currently using ckfinder as a file manager with javascript but i would like to disable the file uploading from a certain page.
I'm currently using javascript with the following code:
function BrowseServer2() {
var finder2 = new CKFinder();
finder2.basePath = '/ckfinder/userfiles/files';
finder2.selectActionFunction = SetFileField2;
finder2.popup();
}
function SetFileField2(fileUrl) {
document.getElementById("<%= attach_path.ClientID %>").value = fileUrl;
}
How can i here specify that i wan't to disable file upload?