Revert "missing semi-colons". Need to fix object name instead.
authorJan Schneider <jan@horde.org>
Mon, 28 Dec 2009 21:24:19 +0000 (22:24 +0100)
committerJan Schneider <jan@horde.org>
Mon, 28 Dec 2009 21:24:19 +0000 (22:24 +0100)
This reverts commit ddd98695dcce0b297b5a5bdaf42f86db9be16692.

kronolith/js/kronolith.js

index c44f33c..b4d41f6 100644 (file)
@@ -675,7 +675,7 @@ KronolithCore = {
         var table = $('kronolithYearTemplate').cloneNode(true),
             tbody = table.down('tbody');
         table.removeAttribute('id');
-        tbody.writeAttribute('id', 'kronolithYearTable' + month);
+        tbody.writeAttribute('id', 'kronolithYearTable' + month)
 
         // Set month name.
         table.down('span')
@@ -1304,7 +1304,7 @@ KronolithCore = {
                     opts.snap = function(x, y) {
                         y = Math.max(0, step * (Math.min(maxTop, y) / step | 0));
                         return [0, y];
-                    };
+                    }
                     new Drag(event.value.nodeId + 'top', opts);
                 }
 
@@ -1312,7 +1312,7 @@ KronolithCore = {
                     opts.snap = function(x, y) {
                         y = Math.min(maxBottom + dragBottomHeight + KronolithCore[storage].spacing, step * ((Math.max(minBottom, y) + dragBottomHeight + KronolithCore[storage].spacing) / step | 0)) - dragBottomHeight - KronolithCore[storage].spacing;
                         return [0, y];
-                    };
+                    }
                     new Drag(event.value.nodeId + 'bottom', opts);
                 }
 
@@ -3764,7 +3764,7 @@ KronolithCore = {
         if (!this.mapInitialized) {
             this.initializeMap();
         }
-        var dialog = $('kronolithEventForm');
+        var dialog = $('kronolithEventForm')
         dialog.select('.kronolithTabsOption').invoke('hide');
         dialog.select('.tabset li').invoke('removeClassName', 'activeTab');
         $('kronolithEventTabMap').show();