fixed bug which wouldn't allow the user alert to be cleared
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Mar 2006 16:02:43 +0000 (16:02 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Mar 2006 16:02:43 +0000 (16:02 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3374 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/user_editor.js

index 70ff7dc..f41eaed 100644 (file)
@@ -769,8 +769,7 @@ function uEditAddGroupsAndPerms(patron) {
        uEditSetVal( patron, "claims_returned_count", 
                $('ue_claims_returned'), 'isnum', 'ue_bad_claims_returned');
 
        uEditSetVal( patron, "claims_returned_count", 
                $('ue_claims_returned'), 'isnum', 'ue_bad_claims_returned');
 
-       if($('ue_alert_message').value) 
-               uEditSetVal(patron, "alert_message", $('ue_alert_message'));
+       patron.alert_message($('ue_alert_message').value);
 }
 
 
 }