Bugzilla – Attachment 61303 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.33 KB, created by
David Gustafsson
on 2017-03-20 14:21:46 UTC
(
hide
)
Description:
Bug 18305 - jquery.fixFloat.js breaks advanced MARC editor
Filename:
MIME Type:
Creator:
David Gustafsson
Created:
2017-03-20 14:21:46 UTC
Size:
1.33 KB
patch
obsolete
>From 28ea989cc5a01254dcfaf8226e7777f5f79d2166 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). >--- > 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 2efc96f18d..36c99b0c0a 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.11.0
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