Bugzilla – Attachment 61488 Details for
Bug 18305
jquery.fixFloat.js breaks advanced MARC editor for some browsers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18305 - jquery.fixFloat.js breaks advanced MARC editor
Bug-18305---jqueryfixFloatjs-breaks-advanced-MARC-.patch (text/plain), 1.45 KB, created by
Jonathan Druart
on 2017-03-22 17:09:59 UTC
(
hide
)
Description:
Bug 18305 - jquery.fixFloat.js breaks advanced MARC editor
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-03-22 17:09:59 UTC
Size:
1.45 KB
patch
obsolete
>From b375e8adba0fd84d13ba1e4366df3a5b70794b56 Mon Sep 17 00:00:00 2001 >From: David Gustafsson <david.gustafsson@ub.gu.se> >Date: Mon, 20 Mar 2017 15:13:13 +0100 >Subject: [PATCH] Bug 18305 - jquery.fixFloat.js breaks advanced MARC editor > >Remove use of ECMASCRIPT 2015 default parameter syntax in >jquery.fixFloat.js to be compatible >with a wider range of browser versions. > >Test plan: > 1. Usa a not so modern browser, for example Chrome/Chromium < 49, any version of IE > besides Edge, Opera, or Firefox < 15.0. > 2. Edit a bibliographic record in staff client and try switching to > advanced MARC editor (check console, no errors should appear). > >Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js >index 2efc96f..36c99b0 100644 >--- a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js >+++ b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js >@@ -3,7 +3,8 @@ > */ > (function ($, window) { > "use strict"; >- $.fn.fixFloat = function (options={}) { >+ $.fn.fixFloat = function (options) { >+ var options = options || {}; > var tbh = $(this); > var defaults = { > enabled: true, >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18305
:
61303
|
61474
| 61488