[Patches] [PATCH] Bug 7135 - in addbiblio, make save button floating to have

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Wed Dec 21 03:10:34 NZDT 2011


From: Owen Leonard <oleonard at myacpl.org>
Date: Tue, 13 Dec 2011 14:37:32 -0500
Subject: [PATCH] Bug 7135 - in addbiblio, make save button floating to have
 it on always on screen

Follow-up fix corrects z-index of toolbar so that "More" menu
is not hidden behind it.
---
 .../prog/en/lib/jquery/plugins/jquery.fixFloat.js  |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.fixFloat.js b/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.fixFloat.js
index 9fb63e0..0a6fde0 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.fixFloat.js
+++ b/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.fixFloat.js
@@ -26,7 +26,6 @@
       tbh.width(tbh.width());
       tbh.css({'position':'absolute'});
     }
-      tbh.css({'z-index':1000});
 
     if(options.enabled){
       $(window).scroll(function(){
@@ -48,7 +47,8 @@
         if(fixMe){
           var cssObj = {
             'position' : 'fixed',
-            'top' : '0px'
+            'top' : '0px',
+            'z-index' : '1000'
           }
           tbh.css(cssObj);
           tbh.addClass("floating");
@@ -56,7 +56,8 @@
         if(repositionMe){
           var cssObj = {
             'position' : 'absolute',
-            'top' : originalOffset
+            'top' : originalOffset,
+            'z-index' : '1'
           }
           tbh.css(cssObj);
           tbh.removeClass("floating");
-- 
1.7.5.4




More information about the Patches mailing list