浏览代码

#3894 Calendar: windows (select date) too small

Laurent Opprecht 12 年之前
父节点
当前提交
bd7e321936
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      main/admin/calendar_tbl_change.js
  2. 1 1
      main/blog/tbl_change.js
  3. 1 1
      main/calendar/tbl_change.js

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