trying to force focus to the tree
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 12 May 2007 05:20:10 +0000 (05:20 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 12 May 2007 05:20:10 +0000 (05:20 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@7274 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/reports/xul/template-config.js

index e10d10e..d4d212a 100644 (file)
@@ -201,6 +201,8 @@ function alterColumnLabel () {
                rpt_rel_cache[relation_alias].fields[tabname][colname].alias = new_label;
                renderSources(true);
                tree.view.selection.select( item_pos );
+               tree.focus();
+               tree.click();
        }
 
        return true;
@@ -234,6 +236,8 @@ function alterColumnTransform (trans) {
 
        renderSources(true);
        tree.view.selection.select( item_pos );
+       tree.focus();
+       tree.click();
        return true;
 }
 
@@ -262,6 +266,8 @@ function changeOperator (args) {
 
        renderSources(true);
        tree.view.selection.select( item_pos );
+       tree.focus();
+       tree.click();
        return true;
 }