summaryrefslogtreecommitdiff
path: root/program/js/editor_images.js
blob: 28e6bec38119864673e01d592da869962cba3ae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

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+'&_id='+rc_client.env.compose_id]);
   }
};