Fix overzealous template application collab/phasefx/unified_editor_sync_and_template_fixes
authorJason Etheridge <jason@esilibrary.com>
Mon, 1 Aug 2011 06:10:15 +0000 (02:10 -0400)
committerJason Etheridge <jason@esilibrary.com>
Mon, 1 Aug 2011 06:23:32 +0000 (02:23 -0400)
commitd78cae7a6f8121ba658b3bbefaacaee4cc2a4ac6
tree8cb6254c0fcb5b0c45bdd07130046428a9921d58
parentbb0828d6c4f46964eac8750d8644249a49fc7743
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>
Open-ILS/xul/staff_client/server/cat/copy_editor.js