From 06b48a3980d01a8ce64a30181bc2f4d2e1f3ecb2 Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 22 Oct 2007 05:45:14 +0000 Subject: [PATCH] returning the pref blob to support some copy editor pref code 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/widgets.js b/Open-ILS/xul/staff_client/chrome/content/util/widgets.js index 57f9e7a436..de9c1690fd 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/widgets.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/widgets.js @@ -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); } -- 2.11.0