Closed (fixed)
Project:
Bootstrap
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2014 at 21:45 UTC
Updated:
31 Mar 2015 at 07:14 UTC
Jump to comment: Most recent
Comments
Comment #1
Ddroid_za commentedSame issue here, related patch doesn't apply and seem to have been applied before.
Comment #2
Ddroid_za commentedAs a quick fix one can un-comment the entire "Drupal.ajax.prototype.beforeSend = function (xmlhttprequest, options)" function in your bootstrap base theme: js/misc/ajax.js
NB!! Not sure what this will break, but the throbber shows. Still investigating further.
Comment #3
Ddroid_za commentedOk, the problem seems to be on line 56:
this.progress.element = this.progress.element = $('<div class="ajax-progress ajax-progress-throbber"><i class="glyphicon glyphicon-refresh glyphicon-spin"></i></div>');We missing a "throbber" class as that is what we are looking for on line 60 and 67.
So simply changing line 56 to include that class:
this.progress.element = $('<div class="ajax-progress ajax-progress-throbber"><div class="throbber glyphicon glyphicon-refresh glyphicon-spin"></div></div>');works.
In my case i was using views sexy throbber, so i ended up removing the "glyphicon-refresh glyphicon-spin" and just had a <
div class"throbber">instead of the<i class="glyphicon glyphicon-refresh glyphicon-spin">I also changed the .append to .after on line 69 as drupal core ajax.js has it. This was specific for how i wanted it to show.
Comment #4
viRulENt commentedThanks Ddroid_za...this fixed the issue I had with the throbber not showing up while using the bootstrap theme.
Comment #5
chrissnyderI corrected this by changing line 58 from :
if ($(this.element).is('input')) {to
if ($(this.element).is('input') || $(this.element).is('select')) {Comment #6
.bert commentedI came to the same fix as @chrissnyder in #5. Otherwise, the throbber gets put into the select element.
Comment #7
markhalliwellComment #10
markhalliwell