From: phasefx Date: Mon, 22 Oct 2007 05:45:14 +0000 (+0000) Subject: returning the pref blob to support some copy editor pref code X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=06b48a3980d01a8ce64a30181bc2f4d2e1f3ecb2;p=Evergreen.git 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 --- 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); }