rem: window.setTimeout(xformsDisplayLoading, XFORMS_DELAY_BEFORE_DISPLAY_LOADING); 
add: window.setTimeout(xformsDisplayLoading, XFORMS_DELAY_BEFORE_DISPLAY_LOADING_IN_MS); 
context: function xformsExecuteNextRequest() {    if (! document.xformsRequestInProgress && document.xformsEvents.length > 0) {        // Mark this as loading        document.xformsRequestInProgress = true;        window.setTimeout(xformsDisplayLoading, XFORMS_DELAY_BEFORE_DISPLAY_LOADING);        // Build request        var requestDocument;        {            var eventFiredElement = xformsCreateElementNS(XXFORMS_NAMESPACE_URI, "xxforms:event-request");            // Add static state            var staticStateElement = xformsCreateElementNS(XXFORMS_NAMESPACE_URI, "xxforms:static-state");            staticStateElement.appendChild(staticStateElement.ownerDocument.createTextNode(document.xformsStaticState.value));            eventFiredElement.appendChild(staticStateElement);            // Add dynamic state (element is just created and will be filled just before we send the request)            var dynamicStateElement = xformsCreateElementNS(XXFORMS_NAMESPACE_URI, "xxforms:dynamic-state");            dynamicStateElement.appendChild(dynamicStateElement.ownerDocument.createTextNode(xformsGetFromClientState("ajax-dynamic-state")));            eventFiredElement.appendChild(dynamicStateElement);            // Add action            var actionElement = xformsCreateElementNS(XXFORMS_NAMESPACE_URI, "xxforms:action");            eventFiredElement.appendChild(actionElement);            // Add event            for (var i = 0; i < document.xformsEvents.length; i++) {                // Extract information from event array                var event = document.xformsEvents[i];                var target = event[0];                var eventName = event[1];                var value = event[2];                var other = event[3];                // Create <xxforms:event> element                var eventElement = xformsCreateElementNS(XXFORMS_NAMESPACE_URI, "xxforms:event");                actionElement.appendChild(eventElement);                eventElement.setAttribute("name", eventName);                if (target != null)                    eventElement.setAttribute("source-control-id", target.id);                if (other != null)                    eventElement.setAttribute("other-control-id", other.id);                if (value != null)                    eventElement.appendChild(eventElement.ownerDocument.createTextNode(value));            }            document.xformsEvents = new Array();            // Reset changes, as changes are included in this bach of events            document.xformsChangedIdsRequest = new Array();            requestDocument = eventFiredElement.ownerDocument;        }        // Send request        document.xformsXMLHttpRequest = new XMLHttpRequest();        document.xformsXMLHttpRequest.open("POST", XFORMS_SERVER_URL, true);        document.xformsXMLHttpRequest.onreadystatechange = xformsHandleResponse;        document.xformsXMLHttpRequest.send(requestDocument);    }}
meta: 7519	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7519/9a884ba1a9f191fba95d2e9769047f618bbc356e/xforms.js/buggy/src/examples/web/ops/javascript/xforms.js