LP1277556 Fast Item Add no longer opens record after copy is created user/blake/LP1277556
authorblake <blake@mobiusconsortium.org>
Tue, 1 Jul 2014 22:06:30 +0000 (17:06 -0500)
committerblake <blake@mobiusconsortium.org>
Tue, 1 Jul 2014 22:12:04 +0000 (17:12 -0500)
commite1a396cbd9c9f6f59c1cad32c4ac836951fdf654
tree098a63602b0fd617aeb5c33b64f9006e7704f0b0
parentcfa4a63cbea6f801f5f09b91df745f55d839c164
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 <blake@mobiusconsortium.org>
Open-ILS/xul/staff_client/server/cat/marcedit.js