ws
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 24 Mar 2009 22:45:20 +0000 (18:45 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 24 Mar 2009 22:45:20 +0000 (18:45 -0400)
kronolith/js/src/kronolith.js

index 10241c1..01165e5 100644 (file)
@@ -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;
     },
     
     /**