From 1c0db5f99a8a02776fd2240028681cabd3a0ff5b Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Thu, 20 Feb 2014 11:19:41 -0500 Subject: [PATCH] Checkstyles Bootstrap js. --- themes/bootstrap/js/lightbox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/bootstrap/js/lightbox.js b/themes/bootstrap/js/lightbox.js index 6bfdf062063..be8cde3449b 100644 --- a/themes/bootstrap/js/lightbox.js +++ b/themes/bootstrap/js/lightbox.js @@ -399,7 +399,7 @@ function registerModalEvents(modal) { // Highlight which submit button clicked $(modal).find("form input[type=submit]").click(function() { // Abort requests triggered by the lightbox - if(modalXHR) { modalXHR.abort() } + if(modalXHR) { modalXHR.abort(); } $('#modal .icon-spinner').remove(); // Add useful information $(this).attr("clicked", "true"); @@ -440,7 +440,7 @@ $(document).ready(function() { return false; }); addLightboxFormHandler('saveRecord', function(evt) { - ajaxSubmit($(evt.target), function(){lightboxConfirm(vufindString['bulk_save_success'])}); + ajaxSubmit($(evt.target), function(){lightboxConfirm(vufindString['bulk_save_success']);}); return false; }); -- GitLab