Trigger file-properties dialog through javascript

Permalink
I'm currently working on a front-end file-management block for 5.6. The block displays a list of files, and I want the user to be able to edit the properties of each file, just like he would be able to do through the C5 file manager. Is there a way to trigger this file properties dialog directly with javascript, without first having to open the file manager? I have been looking at the javascript-code for the file manager, but it isn't directly clear to me what I should do to trigger the dialog directly.

 
MathijsVos replied on at Permalink Best Answer Reply
I've found the answer: simply make an Ajax-request to
CCM_TOOLS_PATH + '/files/properties?fID=' + fileID

and display the resulting HTML in a dialog.