Check for lingering text in the autocompleter when saving instead
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 20 Dec 2009 01:19:22 +0000 (20:19 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 20 Dec 2009 01:19:22 +0000 (20:19 -0500)
of anytime we blur the trigger field.

kronolith/js/kronolith.js

index dbb4947..e68b8b6 100644 (file)
@@ -3142,6 +3142,7 @@ KronolithCore = {
             viewDates = this.viewDates(this.date, this.view),
             start = viewDates[0].dateString(),
             end = viewDates[1].dateString();
+        $('kronolithEventTags').autocompleter.shutdown();
         this.startLoading(cal, start + end);
         this.doAction('SaveEvent',
                       $H($('kronolithEventForm').serialize({ 'hash': true }))