Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.4
-
None
Description
waitForAjaxRequestsToComplete() waits until <body> has an attribute
data-ajax-active=false
which will NEVER be the case when Prototype is being used.
When an attribute's value is false, Prototype removes that attribute from the tag (instead of writing out the value).
from prototype.js, line 2269:
writeAttribute: function(element, name, value) { ... if (value === false || value === null) element.removeAttribute(name); else if (value === true) element.setAttribute(name, name); else element.setAttribute(name, value); ... }