[Koha-bugs] [Bug 13943] Cancelling the deletion process of an item deletes item anyway

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 14 10:44:27 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13943

--- Comment #15 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to David Cook from comment #13)
> Jonathan, have you tested this? 
> 
> At a glance, it looks like the main delete button will work because the href
> attribute points to "/cgi-bin/koha/mainpage.pl" instead of
> "/cgi-bin/koha/cataloguing/additem.pl?op=delitem&biblionumber=[%
> biblionumber %]&itemnumber=[% item_loo.itemnumber %]", but I don't know
> why you'd point at "/cgi-bin/koha/mainpage.pl"... I think that would be a
> surprising result when successfully deleting an item, no?

Sorry, it was a stupid test.
I was happy, it works (the deletion did not work when I canceled the deletion).
So I tested, but not completely.

> I imagine the inline delete link will work since browser.js should try to
> bind the problematic click handler using the selector
> $('a[href*="biblionumber="]') before the inline links get created. 
> 
> Anyway... just some thoughts...

Thanks for that, I did not catch that yesterday! It was very useful.
The last patch should work as expected.

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


More information about the Koha-bugs mailing list