LP1821409 Ang admin editor clears fields on new
authorBill Erickson <berickxx@gmail.com>
Fri, 22 Mar 2019 20:41:12 +0000 (13:41 -0700)
committerDan Wells <dbw2@calvin.edu>
Mon, 25 Mar 2019 20:54:48 +0000 (16:54 -0400)
commit29b100c9e761ad841ab2c65659c95dac392efe99
treec1eb69a55c06d5f33986eb17fe65b9e3b9f7360a
parent5046ced464f8689814409da2e75fc9a8a3c489f0
LP1821409 Ang admin editor clears fields on new

The Angular admin pages re-use an FmEditor component for creating and
updating objects.  When creating a new object after editing an existing
object, reset the editor so it won't load the previously edited object.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts