]> git.evergreen-ils.org Git - Evergreen.git/commit
Timing: Set offlineStrings variable after network.init, and not inline.
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 14 Jan 2009 22:27:39 +0000 (22:27 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 14 Jan 2009 22:27:39 +0000 (22:27 +0000)
commit718be48d8380924ac316541f98d703e6af08d319
tree905cb4b80a79ad70c5cbc306463d03d466602efa
parent4f18e235bfcbb77c5d4884232344ed9b1265366d
Timing: Set offlineStrings variable after network.init, and not inline.
Refactor: Do not use null to represent an error anywhere in the stack.
New: Time the request, and if the return value is null and the duration is greater than 55 seconds, then treat it as a network timeout.

need to test it with async requests

git-svn-id: svn://svn.open-ils.org/ILS/trunk@11833 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/xul/staff_client/chrome/content/util/network.js