I am using views 2.5 with drupal 6.12 and the status-active.gif only displays for user/1.

I have looked at my server logs and noticed that when the browser goes to GET the image, sometimes it reads 200, and other times it reads 304. I did not go as far as checking the exact times to be sure, but I'm assuming the 200 is when user/1 goes to GET the gif, and the 304 is when anonymous and other logged in users go to GET the gif.

I've read before that you are unable to reproduce this error, but is there any other information I can gather for you so that you can hopefully resolve this?

CommentFileSizeAuthor
#5 views-485472.patch769 bytesdawehner

Comments

mark.’s picture

Also, I am having this problem on multiple installations.

mark.’s picture

Version: 6.x-2.5 » 6.x-2.6

Just changing this issue to the current version, as it does the same thing.

mark.’s picture

I also just verified that it is not a theme issue. I checked it with a few different themes, including Garland.

mark.’s picture

Also just checked it with Acquia Marina theme, and the problem still persists.

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new769 bytes

yes i can also reproduce this bug.

the fix is quite easy :)

mark.’s picture

You are so awesome. Thank you!

Ajax just isn't as fun for the end user without the animations.

peterjmag’s picture

Thanks for the patch! Is this going to make it in to 2.7?

dawehner’s picture

if enough users review it, and merlinofchaos thinks that its done the right way I think so.

peterjmag’s picture

As a workaround, since the "views-throbbing" class still gets added correctly for anonymous users, you can simply add the following to your theme's CSS:

html.js a.views-throbbing,
html.js span.views-throbbing {
  background:url(../images/status-active.gif) no-repeat right center;
  padding-right:18px;
}

This code is originally from modules/views/css/views.css, so make sure you copy status-active.gif to your theme directory and check the path for the background image in the line above. For example, if I copied modules/views/images/status-active.gif to themes/mytheme/images/, I'd modify the background property to the following before adding it to my theme's style.css:

  background:url(images/status-active.gif) no-repeat right center;
merlinofchaos’s picture

Status: Needs review » Fixed

Committed. Thanks dereine!

x-lette’s picture

Great! It took me hours to find out what breaks my layout every time I logout. But it only took a few minutes to find this patch, to apply and test it and be satisfied again! :)

Status: Fixed » Closed (fixed)

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