diff --git a/ChangeLog b/ChangeLog index 6c00f9abb..c104ddb5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ $HeadURL$ - bug #1733012 Unwanted table alias in delete button - bug #1736405 Pretty printer and HTML line breaks - bug #1745257 Invalid DB name is still displayed +- bug #1730367 Calendar "Go" has no effect 2.10.2.0 (2007-06-15) diff --git a/calendar.php b/calendar.php index 4c8b1a71d..7cbef8f56 100644 --- a/calendar.php +++ b/calendar.php @@ -11,7 +11,7 @@ require('./libraries/header_meta_style.inc.php'); //"); var day_names = new Array(""); -var submit_text = ""; +var submit_text = ""; //]]> diff --git a/js/tbl_change.js b/js/tbl_change.js index beeb14838..6ee401028 100644 --- a/js/tbl_change.js +++ b/js/tbl_change.js @@ -180,6 +180,7 @@ function initCalendar() { second = parseInt(value.substr(12,2),10); } } + if (isNaN(year) || isNaN(month) || isNaN(day) || day == 0) { dt = new Date(); year = dt.getFullYear(); @@ -300,13 +301,15 @@ function initCalendar() { init_hour = hour; init_minute = minute; init_second = second; + str += '
'; cnt.innerHTML = str; clock_set = 1;