Comment #3 on issue 1431 by [email protected]: Download file in context menu
http://code.google.com/p/openmeetings/issues/detail?id=1431

Sorry, I was missed download image method in treeitems/baseFileExplorerItems.lzx
------------------------------------
<!-- Duc Vu | Download image -->
        <method name="downloadImageByName">
        lz.Browser.loadURL(this.formatImageURL(),'_blank');
    </method>
        
        <method name="formatImageURL">
        <![CDATA[
var downloadurl = 'http://'+canvas.rtmphostlocal+':'+canvas.red5httpport+canvas.httpRootKey+'DownloadHandler?' +
                        'fileName='+ this.fileHash +
                    '&moduleName='+ "videoconf1" +
                    '&parentPath='+ '/' +
                    '&room_id=files' +
                    '&sid='+canvas.sessionId;
            return downloadurl;
        ]]>
    </method>
-----------------------------------------------------------

--
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en.

Reply via email to