From 8a1c577d61e8c0f2e0834095d12e7f7eb6498759 Mon Sep 17 00:00:00 2001 From: Chris Hallberg 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; });