]> git.koha-community.org Git - koha.git/commit
Bug 6126: Slip print doesn't work on Webkit based browsers
authorTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 12 Apr 2011 12:45:22 +0000 (08:45 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 13 Apr 2011 00:00:31 +0000 (12:00 +1200)
commit97712c2cca26bc84e8486cbda1b428c489caf070
tree3bc0cbe07eca594034feb5043aa2fbb61247b22b
parent6152b624f7050926a602cc6b8082e5e0eeca1a0b
Bug 6126: Slip print doesn't work on Webkit based browsers

Wrap window.print();window.close(); with a function called when body has finished loading. Prevents webkit from closing before page is loaded and print dialog presented to the user.

Signed-off-by: Jared Camins-Esakov <jcamins@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt