More menu work for record attr/coded map config UIs
[evergreen-equinox.git] / Open-ILS / web / js / dojo / openils / widget / AutoFieldWidget.js
index 3fa7735..e171f30 100644 (file)
@@ -583,7 +583,8 @@ if(!dojo._hasResource['openils.widget.AutoFieldWidget']) {
                 // invalid data.  This change tells dojo to pretend this focusing has 
                 // already happened so we can style required widgets during page render.
                 this.widget._hasBeenBlurred = true;
-                this.widget.validate();
+                if(this.widget.validate)
+                    this.widget.validate();
             }
         },