See ChangeLog

Monotone-Parent: bdd11428b30ea8b34d0aab6d7ff6ef311b949890
Monotone-Revision: 8a33774ff55089b02c43fb1a6d1acfd98521c634

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-10-17T17:54:14
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2009-10-17 17:54:14 +00:00
parent 12896b24db
commit ddb50621cc
4 changed files with 12 additions and 5 deletions
+4 -3
View File
@@ -33,22 +33,23 @@ function endEditable (event, element) {
if (element) {
card = element.readAttribut("card");
mail = element.readAttribute("mail");
name = element.readAttribute("name");
name = element.readAttribute("uname");
}
else {
if ($(this).tagName == "INPUT") {
element = this.ancestors ().first ();
card = this.readAttribute ("card");
name = this.readAttribute ("name");
name = this.readAttribute ("uname");
mail = this.readAttribute ("mail");
}
else {
element = this;
card = element.childElements ().first ().readAttribute ("card");
mail = element.childElements ().first ().readAttribute ("mail");
name = element.childElements ().first ().readAttribute ("name");
name = element.childElements ().first ().readAttribute ("uname");
}
}
element.writeAttribute ("card", card);
element.writeAttribute ("name", name);
element.writeAttribute ("mail", mail);