mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 22:38:51 +00:00
Fixed editing issues in FF3
Monotone-Parent: 929c48879342ae7a0903a90d5d51d42a4913acb0 Monotone-Revision: ac67658e54aba15670ca1eec81ded7b112fc87fa Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-07-22T17:09:41 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -75,6 +75,7 @@ function resetTableActions () {
|
||||
|
||||
function makeEditable (element) {
|
||||
element.addClassName ("editing");
|
||||
element.removeClassName ("categoryListCell");
|
||||
var tmp = element.innerHTML;
|
||||
element.innerHTML = "";
|
||||
var textField = new Element ("input", {"type": "text",
|
||||
@@ -98,6 +99,7 @@ function endEditable (element) {
|
||||
var tmp = element.childElements ().first ().value;
|
||||
element.innerHTML = tmp;
|
||||
element.removeClassName ("editing");
|
||||
element.addClassName ("categoryListCell");
|
||||
}
|
||||
|
||||
function endAllEditables (e) {
|
||||
|
||||
Reference in New Issue
Block a user