Looking at the debugging print statements, seems that the time out setting in the ext-patches.js happens before my custom one:
"default set ajax timout to: 300000 ext-patches.js:12
custom set ajax timout to: 3600000 OpenCyto.js:34"
Moreover, the loading of the corresponding scripts does appear to proceed in the correct order from looking in the generated html code:
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>Flow Dashboard: /HVTN080</title>
<!--
http://140.107.157.39:8080/labkey/project/HVTN080/begin.view?.lastFilter=true -->
<!-- <base href="
http://140.107.157.39:8080/labkey/project/HVTN080/" /> -->
<link rel="canonical" href="
http://140.107.157.39:8080/labkey/project/HVTN080/begin.view?">
...
<script type="text/javascript">
LABKEY.loadedScripts('ext-3.4.0/adapter/ext/ext-base-debug.js','ext-3.4.0/ext-all-debug.js','ext-3.4.0/ext-patches.js', ... ,'OpenCyto/OpenCyto.js', ...);
</script>
<script src="/labkey/ext-3.4.0/adapter/ext/ext-base-debug.js?2138056540" type="text/javascript"></script>
<script src="/labkey/ext-3.4.0/ext-all-debug.js?2138056540" type="text/javascript"></script>
<script src="/labkey/ext-3.4.0/ext-patches.js?2138056540" type="text/javascript"></script>
...
</head>
<body ...>
...
<script src="/labkey/OpenCyto/OpenCyto.js?2138056540" type="text/javascript"></script>
...
</body>
So not sure, what's going on here and why LABKEY.ExtAdapter.Ajax.request() no longer respects the custom override of the Ext.Ajax.timeout value...
Any help is appreciated!
(For now for my purposes I will modify the ext-patches.js but that would not work well for production environment since regular user would not be expected to modify the global scripts like that, right?)
Thanks.
-Leo