LP#838969 Silent print cannot be unselected
authorJason Etheridge <jason@esilibrary.com>
Thu, 1 Sep 2011 18:06:53 +0000 (14:06 -0400)
committerJason Etheridge <jason@esilibrary.com>
Thu, 1 Sep 2011 18:06:53 +0000 (14:06 -0400)
Thanks Bill!

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/server/admin/printer_settings.js

index 8c3e389..891c9c2 100644 (file)
@@ -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');