]> git.koha-community.org Git - koha.git/commit
Bug 8955 - Self checkout should degrade gracefully with JavaScript turned off
authorOwen Leonard <oleonard@myacpl.org>
Wed, 24 Oct 2012 15:02:28 +0000 (11:02 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 22 Dec 2012 21:33:12 +0000 (16:33 -0500)
commite1c621c23098c6d7562dbebf905ff3672d49e04e
treee45f6b7cd6315b96c7114a12fc84f52e1b688a81
parentfea8db728a73be8fc07c56a47edb327212f53395
Bug 8955 - Self checkout should degrade gracefully with JavaScript turned off

Several changes in this patch, the largest of which is that the
renew/return dialogs no longer require JavaScript in order to properly
alter and submit the form. Instead each button uses a separate form.

To test, log in to self checkout and submit a barcode which is checked
out and can be renewd, and a barcode which is checked out but has
reached the checkout limit. On the resulting dialogs each button
should function properly.

Also changed: I removed some useless JavaScript processing related
to a bogus "valid_session" variable which was unused.

Similarly removed is template logic based on a "timedout" variable which
was not set by the script. Note that the script contains NO server-
side handling of timeout. Timeout is dependent on JavaScript.

To test these changes, confirm that with JavaScript enabled you are
automatically logged out after the time specified in the SelfCheckTimeout
preference.

Other minor changes: Terminology and capitalization corrections,
minor style tweaks.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/opac-tmpl/prog/en/css/sco.css
koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt
opac/sco/sco-main.pl