Hello, I am using ajaxfilemanager and when I select an image by doubleclicking on it, the selectFile function from form.js is called twice. My selectFile function is:
function selectFile(url)
{
url = url.replace(window.location.protocol + "//" + window.location.hostname +"/", "");
window.opener.addImageToList(elementId, url);
window.close() ;
}
Do you know how can i fix this problem?
Thank you.