Hi, when I click on a tab, I see 2 throbbers. One on the inside of a tab, and one just outside of it. Checking and unchecking the Throbber checkbox on VDT config sets the one on the outside of the tabs. I like that one, and do not like the one on the inside of the tab. Anyone know where that one comes from?

Thanks!

Comments

ManyNancy’s picture

Hmm the inside throbber only happens on a block display and not a page display. What does this mean?

nicks’s picture

Title: 2 Throbbers » A second throbber appears when changing tabs for view with exposed filters

I'm having exactly the same problem. The issue occurs for me when using the page display with exposed filters - a second throbber appears immediately after the exposed filters submit button.

The code that actually causes this second throbber is actually inside the views module. The offending line is views/js/ajax_view.js:76


$('input[type=submit], button', this).after('&nbsp');

Commenting this line out removes the problem, but obviously then you won't get this throbber when you click the exposed filters "apply" button.

I'm not totally sure why this views javascript function gets triggered when you change tabs. Perhaps someone else has some ideas?

(ManyNancy - apologies if I have co-opted your issue! Can you confirm whether your problem is also because of exposed filters?)

solipsist’s picture

nicks: Thanks for the debugging! I'll do some debugging on my own and try to track this one down.

pribeh’s picture

I'm experiencing this as well but as described by nicks in #2 it appears on a Views page and not the block display. It also only appears in webkit browsers and not gecko which sucks because firebug in those browsers isn't letting me see the tag of the offending throbber.

Another note, commenting out line 76 of ajax_views.js, or commenting out line 95 of viewsdisplaytabs.js, does not remove the offending throbber for me. In fact, if I use any number of ahah or throbber tags (.thobber, .views-throbbing) that I'm aware Drupal/Views uses with a CSS display:none I see no affect either. And if I take out the status-active.gif throbber image from the views folder the offending throbber is still around. So my suspicion is, at least in my case, that it's calling upon Drupal's own throbber.gif but I'm not sure through which JS.