LP#1775466 AngJS reprint last stores compiled html
authorBill Erickson <berickxx@gmail.com>
Thu, 21 Jun 2018 19:15:23 +0000 (15:15 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Jun 2018 19:15:25 +0000 (15:15 -0400)
commit97fc79736a12a3a98f337e0f9205fb3d535a6afa
tree1785896292ee0f35e76e19e35c2cac954066f6eb
parent81f398660464ae796b1e4eb1e6c49f1a5d8e1a95
LP#1775466 AngJS reprint last stores compiled html

Store the compiled HTML instead of the source template and source
context after each print.  With this, reprintLast() doesn't have to
recompiled the content.  This is particularly useful for sharing printed
content between AngularJS and Angular.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/services/print.js