Sachini / freebase-suggest

Automatically exported from code.google.com/p/freebase-suggest
Other
0 stars 0 forks source link

Generate a warning if suggest is invoked on anything other than a input element with type = text #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. $('form').suggest()

What is the expected output? What do you see instead?

I'd like to see a console warning, "Cannot use Freebase Suggest on a 'form' 
element. See http://www.freebase.com/docs/suggest for help"

Original issue reported on code.google.com by will.moffat on 29 Sep 2009 at 12:23

GoogleCodeExporter commented 9 years ago
This was fixed. Can  only be invoked on <INPUT type=text>

Original comment by daep...@gmail.com on 18 Mar 2010 at 6:53