util.list gets used in offline mode, so don't assume that we have fetched org unit...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Jun 2010 05:28:24 +0000 (05:28 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Jun 2010 05:28:24 +0000 (05:28 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16573 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/util/list.js

index 5bf63e5..d5da65e 100644 (file)
@@ -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));