The loadingAnimation.gif is not found when User Relationships UI is installed on a multilingual site. A language code is used a prefix in the URL. To reproduce create a relation and then press the 'Cancel' link.
For example with language prefix 'nl' the URL is:

http://example.com/nl/sites/all/modules/contrib/user_relationships/user_relationships_ui/images/loadingAnimation.gif

while it should be

http://example.com/sites/all/modules/contrib/user_relationships/user_relationships_ui/images/loadingAnimation.gif

Comments

sutharsan’s picture

This patch uses file_create_url() instead of url() for the files to be loaded by JavaScript.

berdir’s picture

Status: Needs review » Fixed

Yes, that looks better, thanks. Commited!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.