[Koha-bugs] [Bug 10347] Deactivate "Add item" button when "Add multiple copies" was activated

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 15 21:13:38 CEST 2013


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 20378
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20378&action=edit
Bug 10347 - Deactivate "Add item" button when "Add multiple copies" was
activated

When the "Add multiple items" button is pressed the other submit buttons
should be hidden in order to eliminate confusion about which button
submits the form at that stage in the process.

This patch alters the form so that clicking the "add multiple" button
hides the other two buttons and displays form for submitting the number
of copies to add.

This patch also makes changes to accompanying text in order to make
things (hopefully) clearer. The button text has been changed (again, see
Bug 10346) to "Add multiple copies of this item."

The triggered form is now labelled "Number of additional copies of this
item to add" in an attempt to convey the fact that the number entered
will be added to the one item represented by the item form above. i.e.
if you enter "3" as the number of additional copies, you will end up
with 4.

Explanatory text has been added "The barcode you enter will be
incremented for each additional item," because that seemed non-obvious
about the process.

Unrelated change: a section of obsolete JavaScript has been removed.

To test, go to the add/edit items page for a new or existing record.
Test adding a single item, adding & duplicating, and adding multiple.
The add multiple form should be shown upon clicking 'add multiple,' and
hidden when 'cancel' is clicked.

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


More information about the Koha-bugs mailing list