LP1825851 Print template admin misc. repairs/improvements user/berick/lp1825851-server-generated-print-templates-3
authorBill Erickson <berickxx@gmail.com>
Thu, 1 Aug 2019 20:36:31 +0000 (16:36 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 1 Aug 2019 20:39:18 +0000 (16:39 -0400)
commit4b49882c16fb12f0618b0cede1e630182c731526
tree9fc76b2ac4be7b8b687130682c65f0bfec8ceea4
parent9eb80b54c5a9672b114e9bda2e9a69ef5ea68dd9
LP1825851 Print template admin misc. repairs/improvements

1. When cloning a template, be sure the cloned template is available in
   the template selector regardless of whether it would have been given
   the current filters.

2. When cloning, set the 'active' flag explicitly to false so the user
   is forced to manually activate.  This prevent unintentional
   activation on in-process templtes.

3. When cloning, clear the owner value so the user is forced to select
   an owner value.

4. Allow the template editor textaread to expand vertically as the
   template gets longer (i.e. adds more new lines).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts
Open-ILS/src/eg2/src/app/staff/admin/server/print-template.component.html
Open-ILS/src/eg2/src/app/staff/admin/server/print-template.component.ts