returning the pref blob to support some copy editor pref code
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Oct 2007 05:45:14 +0000 (05:45 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Oct 2007 05:45:14 +0000 (05:45 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7905 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 57f9e7a..de9c169 100644 (file)
@@ -347,7 +347,9 @@ util.widgets.load_attributes = function (file) {
                                        document.getElementById( element_id ).setAttribute(attribute, blob[ element_id ][ attribute ]);
                                }
                        }
+            return blob;
                }
+        return {};
        } catch(E) {
                alert('Error loading preferences: ' + E);
        }