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
Accepted answer
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*"
./confluence/dashboard
./confluence/dashboard/dashboard.vm
./confluence/dashboard/dashboard-welcome.vm
./confluence/decorators/includes/dashboard-navigation.vm

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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,043 views 15 13
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