applied comments

This commit is contained in:
Alexandre Cloutier
2014-07-10 11:13:07 -04:00
parent ef20108e32
commit 05fb7ae0c8
4 changed files with 9 additions and 11 deletions

View File

@@ -229,7 +229,7 @@ function initPreferences() {
// Calendar whiteList
var whiteList = $("appointmentsWhiteListWrapper");
if(whiteList) {
var whiteListValue = $("whiteListValue").getValue();
var whiteListValue = $("whiteList").getValue();
if (whiteListValue != "") {
whiteListValue = whiteListValue.split(",");
var tablebody = $("appointmentsWhiteListWrapper").childNodesWithTag("table")[0].tBodies[0];
@@ -1133,8 +1133,8 @@ function serializeAppointmentsWhiteList() {
var user = uid + "=" + value;
if (uid != null)
values.push(user);
$("whiteListValue").value = values;
}
$("whiteList").value = values;
}
function onCalendarCategoryAdd(e) {