Calling reset() now automatically calls init() if the object is not initialized.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 10 Mar 2010 18:00:53 +0000 (13:00 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 10 Mar 2010 18:00:53 +0000 (13:00 -0500)
commit87b562b29191c4cf84ad0913da453af1c8caba1e
treef42e8df69bd017618b30042af3a0ee83ad06b456
parentcfd7bed91436a06d9883599e7fb4380c66c9f0f1
Calling reset() now automatically calls init() if the object is not initialized.

Simplifies client code, plus add some checks to avoid doing work for nothing...
horde/js/prettyautocomplete.js