Update to confluence 3.5.6 lost favourites.js

After an upgrade to confluence 3.5.6 from 3.1.2 it appears I have lost the file favourites.js.

This file contains gotoUrl (used in the space tree on my dashboard page)

This file contains toggleStar (used in the same page)

I can't find this function in 3.5.6 includes/js/ folder.

What I missed ?

1 answer

1 accepted

1 vote
David Simpson Community Champion Jul 10, 2011

This is now bundled the Confluence Dashboard Macros plugin in confluence-dashboard-macros.3.x.jar. Both functions are now in the JAR in a file named dashboard-macros.js

  • gotoUrl is still there, though slightly reworked
  • toggleStar has been replaced by toggleFavouriteSpace refactored to say what it does :)

I don't have the file dashboard-macro.js in the confluence std:

[11/07-13:45]<root@confluence:/usr/local/confluence/confluence-3.5.6-std># find . -name "*ashbo*"

And I can't find the function:
[11/07-15:02]<root@confluence:/usr/local/confluence/confluence-3.5.6-std># grep -ri gotoUrl *
[1] 15543 exit 1 grep -ri gotoUrl *
David Simpson Community Champion Jul 10, 2011

@idm: Check the updated answer above

This files is bundled with confluence ?

I can't find them in my package, and online plugins of "confluence Dashboard Macros" seems to be old (2008, version 1.4.1)

And if I found this file, do I need to patch some of my data for the new name of the function ?

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...

2,932 views 27 12
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