Bugzilla – Attachment 77382 Details for
Bug 21139
The floating toolbars have some issues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21139: Floating toolbar - Resize toolbar on window resize
Bug-21139-Floating-toolbar---Resize-toolbar-on-win.patch (text/plain), 1.04 KB, created by
Jonathan Druart
on 2018-08-01 16:21:41 UTC
(
hide
)
Description:
Bug 21139: Floating toolbar - Resize toolbar on window resize
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-08-01 16:21:41 UTC
Size:
1.04 KB
patch
obsolete
>From 2aaf0b669e52ce95358db5abfb82866975f13870 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 1 Aug 2018 12:34:29 -0300 >Subject: [PATCH] Bug 21139: Floating toolbar - Resize toolbar on window resize > >Prior to this patch the toolbar was not resized when the window was >resized >--- > koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js | 5 +++++ > 1 file changed, 5 insertions(+) > >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 9b98c5d172..3a8a494e06 100644 >--- a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js >+++ b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.fixFloat.js >@@ -70,6 +70,11 @@ > tbh.removeClass("floating"); > } > }); >+ >+ $(window).resize(function() { >+ var p = $(tbh).parents('div').first(); >+ $(tbh).width(p.width()-10); >+ }); > } > }; > })(jQuery, window); >-- >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 21139
:
77379
|
77380
|
77381
|
77382
|
77383
|
77391
|
77392
|
77393
|
77394
|
77395
|
77408
|
77409
|
77410
|
77411
|
77412
|
77843