From bd7e3219363264882bbcf8adfac1ea5afbc566ea Mon Sep 17 00:00:00 2001 From: Laurent Opprecht Date: Tue, 26 Jun 2012 13:50:40 +0200 Subject: [PATCH] #3894 Calendar: windows (select date) too small --- main/admin/calendar_tbl_change.js | 2 +- main/blog/tbl_change.js | 2 +- main/calendar/tbl_change.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/admin/calendar_tbl_change.js b/main/admin/calendar_tbl_change.js index d51a366087..993e9054ec 100644 --- a/main/admin/calendar_tbl_change.js +++ b/main/admin/calendar_tbl_change.js @@ -13,7 +13,7 @@ var clock_set = 0; * @param string field name */ function openCalendar(form, field) { - window.open("./calendar_view.php", "calendar", "width=220,height=200,status=no"); + window.open("./calendar_view.php", "calendar", "width=260,height=250,status=no"); day = eval("document." + form + "." + field + "day.options["+ "document." + form + "." + field + "day.selectedIndex].value"); month = eval("document." + form + "." + field + "month.options["+ "document." + form + "." + field + "month.selectedIndex].value"); month = month-1; diff --git a/main/blog/tbl_change.js b/main/blog/tbl_change.js index 8af33768b9..1ecabb6e83 100644 --- a/main/blog/tbl_change.js +++ b/main/blog/tbl_change.js @@ -13,7 +13,7 @@ var clock_set = 0; * @param string field name */ function openCalendar(form, field) { - window.open("./calendar.php", "calendar", "width=220,height=200,status=no"); + window.open("./calendar.php", "calendar", "width=260,height=250,status=no"); day = eval("document." + form + "." + field + "day.options["+ "document." + form + "." + field + "day.selectedIndex].value"); month = eval("document." + form + "." + field + "month.options["+ "document." + form + "." + field + "month.selectedIndex].value"); month = month-1; diff --git a/main/calendar/tbl_change.js b/main/calendar/tbl_change.js index 2d537f1bf9..8104ea1790 100644 --- a/main/calendar/tbl_change.js +++ b/main/calendar/tbl_change.js @@ -13,7 +13,7 @@ var clock_set = 0; * @param string field name */ function openCalendar(form, field) { - window.open("./calendar.php", "calendar", "width=260,height=250,status=yes"); + window.open("./calendar.php", "calendar", "width=260,height=250,status=no,toolbar=no"); day = eval("document." + form + "." + field + "day.options["+ "document." + form + "." + field + "day.selectedIndex].value"); month = eval("document." + form + "." + field + "month.options["+ "document." + form + "." + field + "month.selectedIndex].value"); month = month-1;