MantisBT: master 41810b2c

Author Committer Branch Timestamp Parent
dregad vboctor master 2017-02-08 05:54 master 17366ae6
Affected Issues  0021796: inline attachments should be directly visible
Changeset

Expand image attachments by default

If an attachment of type image is smaller than the maximum preview
threshold ($g_preview_attachments_inline_max_size), Mantis was only
displaying the attachment's name and a [+] button, forcing an extra
click for the user to view it.

We now display images by default, allowing the user to optionally hide
them instead by clicking the [-] button.

Fixes 0021796

mod - core/print_api.php Diff File