[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. 669f24eb9001f99a4f28432fcad5dd16d99a5f85
Evergreen Git
git at git.evergreen-ils.org
Mon Apr 9 10:19:19 EDT 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_2 has been updated
via 669f24eb9001f99a4f28432fcad5dd16d99a5f85 (commit)
from aaa18533b331f918e8f23c6ccaf085af1a83590c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 669f24eb9001f99a4f28432fcad5dd16d99a5f85
Author: Bill Erickson <berick at esilibrary.com>
Date: Tue Apr 3 14:39:00 2012 -0400
Org Unit Custom Tree supports add directly after delete
When deleting a node from the custom tree, it's necessary to save the
tree store after the final call to store.deleteItem, or the delete
operation will not complete. Without this, it's not possible to add a
remove org unit back into the custom tree without reloading the UI.
Signed-off-by: Bill Erickson <berick at esilibrary.com>
Signed-off-by: Mike Rylander <mrylander at gmail.com>
diff --git a/Open-ILS/web/js/ui/default/conify/global/actor/org_unit_custom_tree.js b/Open-ILS/web/js/ui/default/conify/global/actor/org_unit_custom_tree.js
index 909de62..88d35dc 100644
--- a/Open-ILS/web/js/ui/default/conify/global/actor/org_unit_custom_tree.js
+++ b/Open-ILS/web/js/ui/default/conify/global/actor/org_unit_custom_tree.js
@@ -246,6 +246,9 @@ function deleteSelected() {
);
}
);
+
+ // otherwise, delete is only superficial
+ magicTree.model.store.save();
}
function activateTree() {
-----------------------------------------------------------------------
Summary of changes:
.../conify/global/actor/org_unit_custom_tree.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list