Procházet zdrojové kódy

#3894 Calendar: windows (select date) too small

Laurent Opprecht před 12 roky
rodič
revize
bd7e321936

+ 1 - 1
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;

+ 1 - 1
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;

+ 1 - 1
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;