]> git.koha-community.org Git - koha.git/commit
Bug 8637: Lack of control on mandatory in orderreveive.tt
authorChristophe Croullebois <christophe.croullebois@biblibre.com>
Mon, 13 Aug 2012 15:09:30 +0000 (17:09 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 1 Sep 2012 02:53:07 +0000 (14:53 +1200)
commit65c7c4db30bcde3a5575c8fb32953ea275995fdc
tree1166452fd0a30553bab44d13429baa021ea71616
parentecf43fbb40b305fedac6807752395461ec7e8cbe
Bug 8637: Lack of control on mandatory in orderreveive.tt

Just add a check in Jscript when the form is submited, the same as in additem.tt
On Owen's suggestion I have added the red color and 'Required', the same as in additem.
On Jonathan's suggestion I have used the CSS class for red and italic and I have changed a variable's name (alertString2).
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Mandatory fields are now correctly checked on saving.

On other Jonathan's suggestion I have created a new class "missing" and I have added the background to staff-global.css.
The same for additem.tt.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Retested because of minor CSS change. Works nicely.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt
koha-tmpl/intranet-tmpl/prog/en/modules/services/itemrecorddisplay.tt