Bug 11088: (QA followup) don't let language chooser obscure toolbar
authorJesse Weaver <jweaver@bywatersolutions.com>
Thu, 28 Apr 2016 13:29:06 +0000 (13:29 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 11:41:17 +0000 (11:41 +0000)
This uses a similar JS trick to the cataloging interface to change the
location of the toolbar if the language picker is shown.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt

index 7584aad..11762ef 100644 (file)
@@ -59,6 +59,7 @@ $(document).ready(function() {
                mrform.hide();
                e.preventDefault();
        });
+    $('#floating-save').css( { bottom: parseInt( $('#floating-save').css('bottom') ) + $('#changelanguage').height() + 'px' } );
 });
 
 function clear_entry(node) {