mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
bug 1180080 only copy selection to primary when select event received during user input r=dao
--HG-- extra : rebase_source : b2b86d3f55a7716d21302da3043a3e77a1fed732
This commit is contained in:
parent
edc2d1e027
commit
4c5517df87
@ -1010,6 +1010,11 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
.supportsSelectionClipboard())
|
||||
return;
|
||||
|
||||
if (!window.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIDOMWindowUtils)
|
||||
.isHandlingUserInput)
|
||||
return;
|
||||
|
||||
var val = this._getSelectedValueForClipboard();
|
||||
if (!val)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user