parent
01642eca3e
commit
f42d6f5f4a
|
@ -20,6 +20,9 @@ var calendarsOfEventsToDelete = [];
|
|||
var usersRightsWindowHeight = 215;
|
||||
var usersRightsWindowWidth = 502;
|
||||
|
||||
var componentWindowHeight = 500;
|
||||
var componentWindowWidth = 520;
|
||||
|
||||
var calendarEvents = null;
|
||||
|
||||
var preventAutoScroll = false;
|
||||
|
@ -89,7 +92,7 @@ function newEvent(type, day, hour, duration) {
|
|||
if (params.length > 0)
|
||||
urlstr += "?" + params.join("&");
|
||||
|
||||
window.open(urlstr, "", "width=490,height=470,resizable=0");
|
||||
window.open(urlstr, "", "width=" + componentWindowWidth + ",height=" + componentWindowHeight + ",resizable=0");
|
||||
|
||||
return false; /* stop following the link */
|
||||
}
|
||||
|
@ -228,7 +231,7 @@ function _editEventId(id, calendar, recurrence) {
|
|||
}
|
||||
urlstr += "/edit";
|
||||
var win = window.open(urlstr, "_blank",
|
||||
"width=490,height=470,resizable=0");
|
||||
"width=" + componentWindowWidth + ",height=" + componentWindowHeight + ",resizable=0");
|
||||
if (win)
|
||||
win.focus();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue