From c9e7850e27f4eaaf582e2c597b31931aee5c0692 Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Fri, 24 Oct 2014 13:50:26 -0400
Subject: [PATCH] Bulk action fix to remove cart from error messages.

---
 themes/bootstrap3/js/common.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/themes/bootstrap3/js/common.js b/themes/bootstrap3/js/common.js
index cd62a6fa272..9168a53da1f 100644
--- a/themes/bootstrap3/js/common.js
+++ b/themes/bootstrap3/js/common.js
@@ -388,7 +388,9 @@ $(document).ready(function() {
       Lightbox.submit($(this), Lightbox.close);
       Lightbox.close();
     } else {
-      Lightbox.submit($(this), Lightbox.changeContent);
+      Lightbox.submit($(this), function(html) {
+        Lightbox.checkForError(html, Lightbox.changeContent);
+      });
       return false;
     }
   });
-- 
GitLab