This makes the 'twisties' in the holdings maintenance interface default to a closed...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 23 Aug 2007 17:06:55 +0000 (17:06 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 23 Aug 2007 17:06:55 +0000 (17:06 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@7712 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/copy_browser.js

index f4b86ea..da235d4 100644 (file)
@@ -961,7 +961,7 @@ cat.copy_browser.prototype = {
                        } else {
                                if (typeof org != 'object') org = obj.data.hash.aou[ org ];
                        }
-                       obj.show_libs( org, true );
+                       obj.show_libs( org, false );
                
                        var p_org = obj.data.hash.aou[ org.parent_ou() ];
                        if (p_org) {
@@ -976,7 +976,7 @@ cat.copy_browser.prototype = {
                                        funcs.push(
                                                function(o) {
                                                        return function() {
-                                                               obj.show_libs( o, true );
+                                                               obj.show_libs( o, false );
                                                        }
                                                }( p_org.children()[i] )
                                        );
@@ -1056,7 +1056,7 @@ cat.copy_browser.prototype = {
                                funcs.push(
                                        function(o) {
                                                return function() {
-                                                       obj.show_libs(o,true);
+                                                       obj.show_libs(o,false);
                                                }
                                        }( orgs[i] )
                                );
@@ -1537,7 +1537,7 @@ cat.copy_browser.prototype = {
                                        'on_click' : function(ev) {
                                                netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserRead');
                                                var row = {}; var col = {}; var nobj = {};
-                                               obj.list.node.treeBoxObject.getCellAt(ev.clientX,ev.clientY,row,col,nobj);
+                                               obj.list.node.treeBoxObject.getCellAt(ev.clientX,ev.clientY,row,col,nobj); 
                                                if ((row.value == -1)||(nobj.value != 'twisty')) { return; }
                                                var node = obj.list.node.contentView.getItemAtIndex(row.value);
                                                var list = [ node.getAttribute('retrieve_id') ];