From f93b45a642e7a68aa01d335839b0d13f8e7d0ed3 Mon Sep 17 00:00:00 2001 From: Ere Maijala <ere.maijala@helsinki.fi> Date: Thu, 7 Apr 2016 16:11:19 +0300 Subject: [PATCH] Fix lightbox submit form action handling on Microsoft Edge. --- themes/bootstrap3/js/lightbox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/bootstrap3/js/lightbox.js b/themes/bootstrap3/js/lightbox.js index de4132b0d52..1342085c7c2 100644 --- a/themes/bootstrap3/js/lightbox.js +++ b/themes/bootstrap3/js/lightbox.js @@ -266,8 +266,8 @@ VuFind.register('lightbox', function() { _lightboxTitle = submit.data('lightboxTitle') || $(form).data('lightboxTitle') || ''; // Get Lightbox content ajax({ - url: form.action || _currentUrl, - method: form.method || 'GET', + url: $(form).attr('action') || _currentUrl, + method: $(form).attr('method') || 'GET', data: data }); -- GitLab