Bug 3534 - QA Followup - use floating save

I am not sure if this is desired, it makes sense for consistency but
floats in a wierd place for a short form.

Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2016-05-11 11:17:12 -04:00 committed by Kyle M Hall
parent 71d1e1727c
commit 486758d136
2 changed files with 13 additions and 2 deletions

View file

@ -1094,11 +1094,14 @@ $(document).ready(function() {
<ol id="quick_add_list">
</ol>
</fieldset>
<fieldset class="rows" id="qa-save">
<fieldset class="action">
<input type="button" class="save_quick_add" value="Save" />
<button type="button" class="save_quick_add" name="QA-Save">
<i class="fa fa-save"></i> Save
</button>
<a class="cancel" href="/cgi-bin/koha/members/member.pl">Cancel</a>
</fieldset>
</fieldset>
</form>
<script>

View file

@ -351,4 +351,12 @@ $(document).ready(function(){
e.preventDefault();
});
$('#floating-save').css( { bottom: parseInt( $('#floating-save').css('bottom') ) + $('#changelanguage').height() + 'px' } );
$('#qa-save').css( {
bottom: parseInt( $('#qa-save').css('bottom') ) + $('#changelanguage').height() + 'px' ,
"background-color": "rgba(185, 216, 217, 0.6)",
"bottom": "3%",
"position": "fixed",
"right": "1%",
"width": "150px",
} );
});