Sort of in line with 949322 but not absolutely necessary user/edoceo/supress-copy-alert
authoredoceo <code@edoceo.com>
Thu, 2 Aug 2012 02:37:37 +0000 (19:37 -0700)
committeredoceo <code@edoceo.com>
Thu, 2 Aug 2012 02:37:37 +0000 (19:37 -0700)
This just supresses the message about what text was copied to the clipboard - globally!

Signed-off-by: edoceo <code@edoceo.com>
Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js

index 38e62ae..75e0e54 100644 (file)
                 .getService(Components.interfaces.nsIClipboardHelper);
             gClipboardHelper.copyString(text);
             var Strings = $('offlineStrings') || $('commonStrings');
-            alert(Strings.getFormattedString('openils.global_util.clipboard', [text]));
+            // alert(Strings.getFormattedString('openils.global_util.clipboard', [text]));
         } catch(E) {
             var Strings = $('offlineStrings') || $('commonStrings');
             alert(Strings.getFormattedString('openils.global_util.clipboard.error', [E]));