From: Michael J. Rubinsky Date: Tue, 24 Mar 2009 22:45:20 +0000 (-0400) Subject: ws X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=de709fbc918e90ab57d0909bc7028b8c98ae82c7;p=horde.git ws --- diff --git a/kronolith/js/src/kronolith.js b/kronolith/js/src/kronolith.js index 10241c186..01165e5c9 100644 --- a/kronolith/js/src/kronolith.js +++ b/kronolith/js/src/kronolith.js @@ -962,7 +962,7 @@ KronolithCore = { this.doAction('ListTopTags', {}, this._topTags.bind(this)); this.doAction('GetEvent', { 'cal': calendar, 'id': id }, this._editEvent.bind(this)); } else { - this.doAction('ListTopTags', {}, this._topTags.bind(this)); + this.doAction('ListTopTags', {}, this._topTags.bind(this)); var d = new Date(); $('kronolithEventForm').enable(); $('kronolithEventForm').reset(); @@ -981,14 +981,14 @@ KronolithCore = { _topTags: function(r) { - if (!r.response.tags) { - return; - } - $('eventTopTags').update(); - r.response.tags.each(function(tag) { - $('eventTopTags').insert(new Element('span').update(tag)); - }); - return; + if (!r.response.tags) { + return; + } + $('eventTopTags').update(); + r.response.tags.each(function(tag) { + $('eventTopTags').insert(new Element('span').update(tag)); + }); + return; }, /**