thomascube
2010-04-01 1d773d71414316e0b9836a15c35576593427ee21
commit | author | age
4315b0 1
94e38b 2 var rc_client = tinyMCEPopup.getParam("rc_client");
01ffe0 3 if (rc_client.env.attachments)
4315b0 4 {
S 5    var tinyMCEImageList = new Array();
01ffe0 6    for (var id in rc_client.env.attachments)
4315b0 7    {
01ffe0 8       var att = rc_client.env.attachments[id];
T 9       if (att.complete && att.mimetype.indexOf('image/') == 0)
10         tinyMCEImageList.push([att.name, rc_client.env.comm_path+'&_action=display-attachment&_file='+id]);
4315b0 11    }
S 12 };