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

This widget could not be displayed.
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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

398 views 4 6
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