From 10c443b05e002ba1cf3c917c228b77e312f35c59 Mon Sep 17 00:00:00 2001
From: Jason Etheridge <jason@esilibrary.com>
Date: Sat, 14 May 2011 13:44:56 -0400
Subject: [PATCH] return after Email sent alert

---
 Open-ILS/web/js/ui/default/vandelay/vandelay.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Open-ILS/web/js/ui/default/vandelay/vandelay.js b/Open-ILS/web/js/ui/default/vandelay/vandelay.js
index e78ebcc329..b67352af5a 100644
--- a/Open-ILS/web/js/ui/default/vandelay/vandelay.js
+++ b/Open-ILS/web/js/ui/default/vandelay/vandelay.js
@@ -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 */
-- 
2.11.0