[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. ceb573377c90bd92488a72ffbdb133beacf8f424
Evergreen Git
git at git.evergreen-ils.org
Thu May 26 11:10:32 EDT 2011
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_0 has been updated
via ceb573377c90bd92488a72ffbdb133beacf8f424 (commit)
from 51523ac6db6a4b78ca6053ab0df645698f017db8 (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 ceb573377c90bd92488a72ffbdb133beacf8f424
Author: Dan Wells <dbw2 at calvin.edu>
Date: Thu May 26 10:53:42 2011 -0400
Checking for 'twisty' leads to false negatives in Serial Control
Since a tree can be opened with a double-click, we can't rely on 'twisty'
being set to load the child data.
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
diff --git a/Open-ILS/xul/staff_client/server/serial/manage_dists.js b/Open-ILS/xul/staff_client/server/serial/manage_dists.js
index c1a5df0..9e02c1f 100644
--- a/Open-ILS/xul/staff_client/server/serial/manage_dists.js
+++ b/Open-ILS/xul/staff_client/server/serial/manage_dists.js
@@ -647,12 +647,10 @@ serial.manage_dists.prototype = {
if (!sel_lists[row_type]) sel_lists[row_type] = [];
sel_lists[row_type].push(id);
- if (twisty) {
- switch(row_type) {
- case 'aou' : obj.on_click_aou(id,twisty); break;
- case 'sdist' : obj.on_select_sdist(id,twisty); break;
- default: break;
- }
+ switch(row_type) {
+ case 'aou' : obj.on_click_aou(id,twisty); break;
+ case 'sdist' : obj.on_select_sdist(id,twisty); break;
+ default: break;
}
}
diff --git a/Open-ILS/xul/staff_client/server/serial/manage_subs.js b/Open-ILS/xul/staff_client/server/serial/manage_subs.js
index 2ce4184..628ebbe 100644
--- a/Open-ILS/xul/staff_client/server/serial/manage_subs.js
+++ b/Open-ILS/xul/staff_client/server/serial/manage_subs.js
@@ -1117,12 +1117,10 @@ serial.manage_subs.prototype = {
if (!sel_lists[row_type]) sel_lists[row_type] = [];
sel_lists[row_type].push(id);
- if (twisty) {
- switch(row_type) {
- case 'aou' : obj.on_click_aou(id,twisty); break;
- case 'ssub' : obj.on_select_ssub(id,twisty); break;
- default: break;
- }
+ switch(row_type) {
+ case 'aou' : obj.on_click_aou(id,twisty); break;
+ case 'ssub' : obj.on_select_ssub(id,twisty); break;
+ default: break;
}
}
-----------------------------------------------------------------------
Summary of changes:
.../xul/staff_client/server/serial/manage_dists.js | 10 ++++------
.../xul/staff_client/server/serial/manage_subs.js | 10 ++++------
2 files changed, 8 insertions(+), 12 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list