From de709fbc918e90ab57d0909bc7028b8c98ae82c7 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 24 Mar 2009 18:45:20 -0400 Subject: [PATCH] ws --- kronolith/js/src/kronolith.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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; }, /** -- 2.11.0