From 396d1413c1a028d86a905f712ea58ce1862e152d Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 28 Dec 2009 22:24:19 +0100 Subject: [PATCH] Revert "missing semi-colons". Need to fix object name instead. This reverts commit ddd98695dcce0b297b5a5bdaf42f86db9be16692. --- kronolith/js/kronolith.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index c44f33c87..b4d41f6ff 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -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(); -- 2.11.0