properly reset flex attribute on last name after editing

This commit is contained in:
Simon Kornblith 2011-02-13 00:26:11 +00:00
parent effdfc1adf
commit a21c3b28a2

View file

@ -1522,14 +1522,6 @@
fieldName,
tabindex
);
// Reset creator mode settings
if (otherFields.fieldMode) {
this.switchCreatorMode(row, 1, true);
}
else {
this.switchCreatorMode(row, 0, true);
}
}
// Tags
@ -1683,6 +1675,11 @@
var box = textbox.parentNode;
box.replaceChild(elem,textbox);
if(field === 'creator') {
// Reset creator mode settings here so that flex attribute gets reset
this.switchCreatorMode(row, (otherFields.fieldMode ? 1 : 0), true);
}
if (this._tabDirection) {
if (!focusMode) {
var focusMode = 'info';