From: Jason Etheridge Date: Thu, 1 Sep 2011 18:06:53 +0000 (-0400) Subject: LP#838969 Silent print cannot be unselected X-Git-Tag: sprint4-merge-nov22~5175 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8b64336269e57d01f3d5fb284372fec020eb81b0;p=working%2FEvergreen.git LP#838969 Silent print cannot be unselected Thanks Bill! Signed-off-by: Jason Etheridge --- 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');