From: edoceo Date: Thu, 2 Aug 2012 02:37:37 +0000 (-0700) Subject: Sort of in line with 949322 but not absolutely necessary X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fedoceo%2Fsupress-copy-alert;p=working%2FEvergreen.git Sort of in line with 949322 but not absolutely necessary This just supresses the message about what text was copied to the clipboard - globally! Signed-off-by: edoceo --- diff --git a/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js b/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js index 38e62ae4d9..75e0e54b11 100644 --- a/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js +++ b/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js @@ -594,7 +594,7 @@ .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]));