From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Thu, 3 Jun 2010 05:28:24 +0000 (+0000)
Subject: util.list gets used in offline mode, so don't assume that we have fetched org unit... 
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=46641b478fedf03d82fed9a1723ce70a2200710a;p=contrib%2FConifer.git

util.list gets used in offline mode, so don't assume that we have fetched org unit settings

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16573 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/xul/staff_client/chrome/content/util/list.js b/Open-ILS/xul/staff_client/chrome/content/util/list.js
index 5bf63e53c9..d5da65ef3e 100644
--- a/Open-ILS/xul/staff_client/chrome/content/util/list.js
+++ b/Open-ILS/xul/staff_client/chrome/content/util/list.js
@@ -278,6 +278,7 @@ util.list.prototype = {
             }
 
             var my_cols;
+            if (! obj.data.hash.aous) { obj.data.hash.aous = {}; }
             if (! obj.data.hash.aous['gui.disable_local_save_columns']) {
                 netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
                 JSAN.use('util.file'); var file = new util.file('tree_columns_for_'+window.escape(id));