return after Email sent alert
authorJason Etheridge <jason@esilibrary.com>
Sat, 14 May 2011 17:44:56 +0000 (13:44 -0400)
committerJason Etheridge <jason@esilibrary.com>
Sat, 14 May 2011 17:44:56 +0000 (13:44 -0400)
Open-ILS/web/js/ui/default/vandelay/vandelay.js

index e78ebcc..b67352a 100644 (file)
@@ -425,7 +425,7 @@ function exportHandler(type, response) {
     try {
         var content = openils.Util.readResponse(response);
         if (type=='email') {
-            if (content==1) { alert('Email sent.'); }
+            if (content==1) { alert('Email sent.'); return; }
             throw(content);
         }
         /* handle .atomic versus non-atomic method calls */