adjust timeout of mcx-moniker popup to prevent race condition

This commit is contained in:
Michael Becker 2025-08-08 21:55:33 -04:00
parent 0716661402
commit 0217502488

View File

@ -175,7 +175,7 @@ function McxMoniker(parentElement)
var url = System.ExpandRelativePath("~/" + System.TenantName + "/inst/" + this.InstanceID + "/rel-tasks.htmld"); var url = System.ExpandRelativePath("~/" + System.TenantName + "/inst/" + this.InstanceID + "/rel-tasks.htmld");
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.timeout = 5000; xhr.timeout = 10000;
xhr.open("GET", url); xhr.open("GET", url);
xhr.thiss = this; xhr.thiss = this;
xhr.onreadystatechange = function(e) xhr.onreadystatechange = function(e)