don't look for duplicates on empty values
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 9 Dec 2009 14:01:25 +0000 (14:01 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 9 Dec 2009 14:01:25 +0000 (14:01 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15115 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/actor/user/register.js

index 38a2e09..2fdd320 100644 (file)
@@ -616,6 +616,7 @@ function attachWidgetEvents(fmcls, fmfield, widget) {
 }
 
 function uEditDupeSearch(type, value) {
+    if(!value) return;
     var search;
     switch(type) {