Fix old way paste (reset a selection)

This commit is contained in:
DanyaPostfactum 2012-11-30 20:11:09 +10:00
commit 2f01870f05

View file

@ -129,6 +129,7 @@ var TextInput = function(parentNode, host) {
if (pasted) {
var data = text.value;
resetValue();
resetSelection();
if (data)
host.onPaste(data);
pasted = false;