This just supresses the message about what text was copied to the clipboard - globally!
Signed-off-by: edoceo <code@edoceo.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
.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]));