[Koha-bugs] [Bug 19116] Holds not set to waiting when "Confirm" is used

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 7 07:24:44 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19116

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcook at prosentient.com.au

--- Comment #46 from David Cook <dcook at prosentient.com.au> ---
I'm confused... does this actually work?

I see the following code in master:

<div class="modal-footer">
    <input type="hidden" name="cancel_reserve" value="0" />

    <button type="submit" class="btn btn-default approve" data-dismiss="modal">
        <i class="fa fa-check"></i> Confirm
    </button>

    <input type="hidden" name="print_slip" value="0" />
    <button type="submit" class="btn btn-default print"
onclick="this.form.print_slip.value = 1; this.form.submit();">
        <i class="fa fa-print"></i> Print and confirm
    </button>

    <button type="submit" class="btn btn-default deny"
onclick="this.form.cancel_reserve.value = 1; this.form.submit();">
        <i class="fa fa-times"></i> Cancel hold
    </button>
</div>

"Print and confirm" and "Cancel hold" both work in the 17.05.03 but "Confirm"
doesn't. If I add onclick="this.form.submit();" to the Confirm button, then it
works. 

As per Kyle's patch on #19273, I think the problem is due to that data-dismiss
attribute?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list