Searching a jQuery-workaround for an annoying 4.x bug with attachment-macro: versions are not displayed any more

This is a small but annoying bug:

As the version information is still there in the page it should be easy with a little bit "jQuery-Magic" inside of "CustomHTML" to fix this?

(until it will be fixed by atlassian - minor bugs tend to take quite some time...)

Thanks for any hint from the jQuery-magicians!


PS: Anyway, please vote for this bug ;-)

3 answers

1 accepted


<script type="text/javascript">

AJS.toInit(function ($) {

jQuery(".plugin_attachments_container .attachment-history a").click(function(){

var b=jQuery(this).parents("table.tableview");
var c=jQuery(this).parents("tr:first")[0].id.substr(11);
var classToSearchFor = "history-"+c,b;

jQuery(".plugin_attachments_table_container tbody tr").each(function(){
  if( jQuery(this).hasClass(classToSearchFor )) {




Insert this code to the Global Administration -> Custoom HTML -> "at the end of the BODY" part

Absolutely amazing!!! Thanks a lot!! That's really magic!

1 vote
Joseph Clark Atlassian Team Feb 29, 2012

This is fixed in the upcoming 4.2 release. Sincere apologies for the bug.

Hey and that's amazing support!! I really "love" atlassian! ;-)

This does not help users of Confluence OnDemand.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

370 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you