Not working upon Recent upgrade of chrome in windows, but IE works
Author: geetharanimaduriCreated Sep 20, 2017Updated Aug 14, 2018
Hi Team,
Good Evening. The existing code, which was working previously was not working after upgrade of chrome but the same code works fine for the IE. Here is the sample code.Kindly suggest where it is going wrong?? ..
if (this.oClipboard) this.oClipboard.destroy();
this.oClipboard = new ZeroClipboard(this.oCopyLinkButton.getDomRef());
this.oClipboard.on("ready", function(readyEvent)
{
that.oClipboard.on("error", function(e)
{
alert(e);
});
that.oClipboard.on("copy", function(e)
{
alert("copy called");
that.oClipboard.setText(that.currentURL);
});
that.oClipboard.on("aftercopy", function(event)
{
alert("aftercopy called");
that.oCopyLinkDoneNotif.open();
setTimeout(function()
{
that.oCopyLinkDoneNotif.close(false);
}, 2000);
});
});Thanks, Geetha Rani.
Source: zeroclipboard/zeroclipboard