#3894 Calendar: windows (select date) too small

skala
Laurent Opprecht 13 years ago
parent 64f74497e8
commit bd7e321936
  1. 2
      main/admin/calendar_tbl_change.js
  2. 2
      main/blog/tbl_change.js
  3. 2
      main/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;

@ -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;

@ -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;

Loading…
Cancel
Save