Trigger search change on paste. fix #3416

This commit is contained in:
Ruud
2014-06-10 21:02:48 +02:00
parent 17ba9ee96b
commit 36d8225389
@@ -13,6 +13,9 @@ Block.Search = new Class({
self.input = new Element('input', {
'placeholder': 'Search & add a new media',
'events': {
'input': self.keyup.bind(self),
'paste': self.keyup.bind(self),
'change': self.keyup.bind(self),
'keyup': self.keyup.bind(self),
'focus': function(){
if(focus_timer) clearTimeout(focus_timer);