mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-20 06:36:52 +00:00
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:
1 parent
12896b24db
commit
ddb50621cc
4 files changed
+12
-5
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user