gerrit/gerrit-gwtexpui
David Ostrovsky 630f58ae80 Tweak JS clipboard API integration to work on Firefox
According to the spec, 'copy' execCommand requires that the text is
selected with Selection API. The text input element is created on
the fly, attached to the parent and the text is range selected.
While this approach reliably works on latest Chrome version, it seems
not to be sufficient for Firefox 41: selection only works reliably,
when the element has acquired the focus first.

Change-Id: I7bcee742bb9896aa502c0b75fe7718571c1cb135
2015-10-24 20:28:32 +02:00
..
src Tweak JS clipboard API integration to work on Firefox 2015-10-24 20:28:32 +02:00
BUCK Prefer JavaScript clipboard API if available 2015-07-28 12:37:10 +09:00
COPYING Subtree merge in gwtexpui as gerrit-gwtexpui 2013-04-11 14:30:01 -07:00