Fix overzealous template application
authorJason Etheridge <jason@esilibrary.com>
Mon, 1 Aug 2011 06:10:15 +0000 (02:10 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 3 Aug 2011 17:40:46 +0000 (13:40 -0400)
commit92daa8b59738a70e4ec13280b1693e5b3fdba5df
treef921264840e809cd3b8b2bf9015e8c00be94f56d
parenta1d1d5bf845fb42a4b9341357505d23baa89e8a3
Fix overzealous template application

The idea was that we'd track templates if they were applied prior to copies
actually being specified in the unified interface, and then apply them "for
real" once copies were entered.  But these remembered templates kept applying
themselves whenever changes were made in the volume/copy creator portion of
the interface (possibly overriding tweaks made by staff).  So now we delete
the list of tracked templates once they're applied to actual copies.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/xul/staff_client/server/cat/copy_editor.js