You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
401 B
JavaScript
13 lines
401 B
JavaScript
|
|
var rc_client = tinyMCEPopup.getParam("rc_client");
|
|
if (rc_client.env.attachments)
|
|
{
|
|
var tinyMCEImageList = new Array();
|
|
for (var id in rc_client.env.attachments)
|
|
{
|
|
var att = rc_client.env.attachments[id];
|
|
if (att.complete && att.mimetype.indexOf('image/') == 0)
|
|
tinyMCEImageList.push([att.name, rc_client.env.comm_path+'&_action=display-attachment&_file='+id]);
|
|
}
|
|
};
|