Bug 6569

Summary: Split menu button not working with "search to hold" operations
Product: Koha Reporter: Owen Leonard <oleonard>
Component: CirculationAssignee: Owen Leonard <oleonard>
Status: CLOSED WORKSFORME QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: PATCH-Sent (DO NOT USE) CC: gmcharlt, nengard
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Revised fix

Description Owen Leonard 2011-07-08 17:06:22 UTC
When you use the "Search to hold" function the interface offers a "split" menu button in two places: On the search results screen and the item detail screen. In both cases the button is not working properly. When you click the down-arrow to expand the menu the form is submitting right away. The form shouldn't submit unless you choose one of the options in the menu.
Comment 1 Owen Leonard 2011-07-08 17:09:52 UTC
Created attachment 4609 [details] [review]
Revised fix

Before this patch, clicking the down-arrow on the "Place hold"
split menu button would submit the form right away with the
default action. After applying the patch the form should not
submit until you choose one of the two menu items ("Place hold"
or "Place hold for [Patron]").
Comment 2 Nicole C. Engard 2011-07-09 12:16:45 UTC
I talked with Owen about this on IRC and I don't have a problem. It seems to be something specific on his machine.  Owen, should be close this?
Comment 3 Owen Leonard 2011-07-11 16:48:32 UTC
I can reproduce this bug across multiple browsers but only with this particular installation. I can't imagine what the difference is, but if it's just me then this bug is invalid.