From 8b64336269e57d01f3d5fb284372fec020eb81b0 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Thu, 1 Sep 2011 14:06:53 -0400 Subject: [PATCH] LP#838969 Silent print cannot be unselected Thanks Bill! Signed-off-by: Jason Etheridge --- Open-ILS/xul/staff_client/server/admin/printer_settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/admin/printer_settings.js b/Open-ILS/xul/staff_client/server/admin/printer_settings.js index 8c3e389cbe..891c9c2270 100644 --- a/Open-ILS/xul/staff_client/server/admin/printer_settings.js +++ b/Open-ILS/xul/staff_client/server/admin/printer_settings.js @@ -42,7 +42,7 @@ g.toggle_silent_print = function() { } else { // Setting print.always_print_silent to false is not the same as clearing it, since a false here will prevent // gPrintSettings.printSilent = true from working when fed to webBrowserPrint - if (g.prefs.HasUserValue('print.always_print_silent')) { + if (g.prefs.prefHasUserValue('print.always_print_silent')) { g.prefs.clearUserPref('print.always_print_silent'); } dump('Clearing print.always_print_silent\n'); -- 2.11.0