From 5b80a4fc0aefb8dbb3af6d30b3bd1c22db948544 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sun, 15 Nov 2009 15:45:21 -0500 Subject: [PATCH] autocompleter.init() is also called in the _editEvent callback, no need to call it in every case in editEvent() --- kronolith/js/kronolith.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index c939d414a..d71e292d7 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -2381,7 +2381,6 @@ KronolithCore = { }; this.updateCalendarDropDown('kronolithEventCalendar'); - $('kronolithEventTags').autocompleter.init(); $('kronolithEventForm').enable(); $('kronolithEventForm').reset(); this.doAction('ListTopTags', {}, this._topTags); @@ -2389,6 +2388,7 @@ KronolithCore = { RedBox.loading(); this.doAction('GetEvent', { 'cal': calendar, 'id': id }, this._editEvent.bind(this)); } else { + $('kronolithEventTags').autocompleter.init(); var d = date ? this.parseDate(date) : new Date(); $('kronolithEventId').clear(); $('kronolithEventCalendar').setValue(Kronolith.conf.default_calendar); -- 2.11.0