default error handler typo
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 16 Apr 2008 00:50:56 +0000 (00:50 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 16 Apr 2008 00:50:56 +0000 (00:50 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9367 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

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