add support for async calls via an async kwarg
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 14 Apr 2008 12:29:49 +0000 (12:29 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 14 Apr 2008 12:29:49 +0000 (12:29 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9334 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js

index b136d9c..1eba165 100644 (file)
@@ -96,7 +96,7 @@ if(!dojo._hasResource["fieldmapper.Fieldmapper"]){
 
                }
 
-               if (!args.timeout) args.timeout = 10;
+        if (!args.async && !args.timeout) args.timeout = 10;
 
                if (!args.onerror) {
                        args.error = function (r) {