LP1277556 Fast Item Add no longer opens record after copy is created
authorBlake Henderson <blake@mobiusconsortium.org>
Tue, 1 Jul 2014 22:06:30 +0000 (17:06 -0500)
committerBen Shum <bshum@biblio.org>
Wed, 27 Aug 2014 04:33:19 +0000 (00:33 -0400)
commitf354a0dad47f71d7450d90d8a69da883a33b7fce
treecdc4f7037c12f0aab64a7613412b0dddc6a1d5d5
parent15ef5e43ccb925593cf37974800d48419568ca30
LP1277556 Fast Item Add no longer opens record after copy is created

Altered save_attempt to handle undefined and true cases for replace_on_complete
When fastItemAdd is not used, replace_on_complete is undefined
When it is used, and successful, replace_on_complete will be set to true
then we need it to execute result.on_complete()

Signed-off-by: Blake Henderson <blake@mobiusconsortium.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/xul/staff_client/server/cat/marcedit.js