mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-19 13:25:57 +00:00
See ChangeLog.
Monotone-Parent: 870459b5cd89f38f2c5d579fccb19dba58515f8b Monotone-Revision: 4d8fb1ed0734fbcfd6dc4e68194b48101ac46567 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-01-30T19:59:05
This commit is contained in:
@@ -725,6 +725,13 @@ function onViewEventCallback(http) {
|
||||
|
||||
var paras = div.getElementsByTagName("p");
|
||||
var para = $(paras[0]);
|
||||
if (parseInt(data["isAllDay"]) == 0) {
|
||||
para.down("SPAN").update(data["startTime"] + " - " + data["endTime"]);
|
||||
para.show();
|
||||
} else
|
||||
para.hide();
|
||||
|
||||
para = $(paras[1]);
|
||||
if (data["calendar"].length) {
|
||||
// Remove owner email from calendar's name
|
||||
para.down("SPAN", 1).update(data["calendar"].replace(/ \<.*\>/, ""));
|
||||
@@ -732,20 +739,13 @@ function onViewEventCallback(http) {
|
||||
} else
|
||||
para.hide();
|
||||
|
||||
para = $(paras[1]);
|
||||
para = $(paras[2]);
|
||||
if (data["location"].length) {
|
||||
para.down("SPAN", 1).update(data["location"]);
|
||||
para.show();
|
||||
} else
|
||||
para.hide();
|
||||
|
||||
para = $(paras[2]);
|
||||
if (parseInt(data["isAllDay"]) == 0) {
|
||||
para.down("SPAN").update(data["startTime"] + " - " + data["endTime"]);
|
||||
para.show();
|
||||
} else
|
||||
para.hide();
|
||||
|
||||
para = $(paras[3]);
|
||||
if (data["description"].length) {
|
||||
para.update(data["description"].replace(/\r?\n/g, "<BR/>"));
|
||||
|
||||
Reference in New Issue
Block a user