]> git.koha-community.org Git - koha.git/commit
Bug 8683: ensure clear button clears all item fields on order form
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 13 Nov 2013 10:33:05 +0000 (11:33 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 13 Jan 2014 15:26:46 +0000 (12:26 -0300)
commitf3c8be69c9dfa7a4a5eac9e30e980299cfc0e650
treea6c4875d11523d428b0fc133129ac9199e9e2a62
parente74d3780c955263723cabdab5391020514a04344
Bug 8683: ensure clear button clears all item fields on order form

The clear js function parses input text, but input filled to a plugin
does not contain the type attribute.

Test plan:
- fill the barcode field to the barcode plugin
- go on the new order page
- verify the barcode plugin works as before
- verify the clear link clears the barcode field and all others fields.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as expected, passes all tests and QA script.
Template change only.
Barcode and date acquired are now also cleared with the
'clear' link.

But: it only works when you enter a barcode manually currently,
because the AutoBarcode functionality is broken on master (bug 11273).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit f3b28a5d8ad381bbe5b3edce994e0d45ee96f920)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
(cherry picked from commit 842724659c9ac3b6dd1fbf312d8a07ac00fa43c5)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Items.pm