Bug 769679 - Pass the correct document to copyString in copySelectedItems; r=msucan

This commit is contained in:
Ehsan Akhgari 2012-06-29 12:21:32 -04:00
parent fe6ae21d9b
commit ad1d3b4cf9

View File

@ -1012,7 +1012,7 @@ HUD_SERVICE.prototype =
strings.push("[" + timestampString + "] " + item.clipboardText);
}
}
clipboardHelper.copyString(strings.join("\n"), this.doc);
clipboardHelper.copyString(strings.join("\n"), aOutputNode.ownerDocument);
}
};