mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-27 06:15:26 +00:00
Monotone-Parent: 0dbfe804b643f92bc35b93367e1c120b395685a7
Monotone-Revision: 4540f3e456a8b7129b4cc6d8a8eea6373cc23df6 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-07-31T21:14:14 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -19,7 +19,7 @@ function onContactKeydown(event) {
|
||||
if (this.confirmedValue)
|
||||
this.value = this.confirmedValue;
|
||||
var row = this.parentNode.parentNode.nextSibling;
|
||||
while (!(row instanceof HTMLTableRowElement))
|
||||
while (row && row.tagName != 'TR')
|
||||
row = row.nextSibling;
|
||||
this.blur();
|
||||
var input = $(row.cells[0]).childNodesWithTag("input")[0];
|
||||
@@ -203,7 +203,7 @@ function checkAttendee() {
|
||||
this.focussed = false;
|
||||
var th = this.parentNode.parentNode;
|
||||
var tbody = th.parentNode;
|
||||
if (this.value.trim().length == 0)
|
||||
if (tbody && this.value.trim().length == 0)
|
||||
tbody.removeChild(th);
|
||||
else if (!this.hasfreebusy) {
|
||||
if (this.confirmedValue)
|
||||
@@ -535,4 +535,4 @@ function onFreeBusyLoadHandler() {
|
||||
initializeFreebusys();
|
||||
}
|
||||
|
||||
window.addEventListener("load", onFreeBusyLoadHandler, false);
|
||||
addEvent(window, 'load', onFreeBusyLoadHandler);
|
||||
|
||||
Reference in New Issue
Block a user