mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-03 14:16:23 +00:00
Monotone-Parent: 3628a0085e52c1990e5edce1cb09d581bc96f966
Monotone-Revision: 0d9c665e0f8597c3e8b604fcf9e26ef3593b0c9a Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-08-09T10:18:45 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -66,7 +66,7 @@ function fancyAddRow(shouldEdit, text, type) {
|
||||
currentIndex++;
|
||||
proto = lastChild.previous("tr");
|
||||
row = proto.cloneNode(true);
|
||||
row.setAttribute("id", 'row_' + currentIndex);
|
||||
row.writeAttribute("id", 'row_' + currentIndex);
|
||||
|
||||
// select popup
|
||||
var rowNodes = row.childNodesWithTag("td");
|
||||
@@ -81,7 +81,8 @@ function fancyAddRow(shouldEdit, text, type) {
|
||||
addressList.insertBefore(row, lastChild);
|
||||
|
||||
if (shouldEdit) {
|
||||
input.setAttribute("autocomplete", "off");
|
||||
input.writeAttribute("autocomplete", "off");
|
||||
input.stopObserving("keydown", onContactKeydown);
|
||||
input.observe("keydown", onContactKeydown); // bind listener for address completion
|
||||
input.focus();
|
||||
input.select();
|
||||
|
||||
Reference in New Issue
Block a user