diff options
author | alecpl <alec@alec.pl> | 2011-11-04 15:12:31 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-11-04 15:12:31 +0000 |
commit | 8f142e3489af2f264f98b40105846b625a2ecc91 (patch) | |
tree | 890038f8f9b475f9a59afbb3a24977cb839fbfc7 /program/js/editor_images.js | |
parent | 77153b255da293819975ab51ff40c84e5c1ff3cf (diff) |
- Don't use external js file for images listing in HTML editor
Diffstat (limited to 'program/js/editor_images.js')
-rw-r--r-- | program/js/editor_images.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/program/js/editor_images.js b/program/js/editor_images.js deleted file mode 100644 index 28e6bec38..000000000 --- a/program/js/editor_images.js +++ /dev/null @@ -1,12 +0,0 @@ - -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]); - } -}; |