From d5f144de7a08d9fef94e5e6283a4471612e4facf Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Tue, 4 Mar 2014 14:46:51 -0500
Subject: [PATCH] Remove redundant lightbox code from common.js

---
 themes/bootstrap/js/common.js | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/themes/bootstrap/js/common.js b/themes/bootstrap/js/common.js
index 6f035b6cfbc..596a496ecf1 100644
--- a/themes/bootstrap/js/common.js
+++ b/themes/bootstrap/js/common.js
@@ -124,11 +124,6 @@ $(document).ready(function() {
   $('.checkbox-select-all').change(function() {
     $(this).closest('form').find('.checkbox-select-item').attr('checked', this.checked);
   });
-  $('#modal').find('.checkbox-select-item').change(function() {
-    if(!this.checked) {
-      $(this).closest('form').find('.checkbox-select-all').attr('checked', false);
-    }
-  });
   
   // handle QR code links
   $('a.qrcodeLink').click(function() {
-- 
GitLab