www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a21c3b28a20978f5bde47e2497421762b4bf9c8b
parent effdfc1adf52e05c11bbbac649cd22b672f6063e
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun, 13 Feb 2011 00:26:11 +0000

properly reset flex attribute on last name after editing


Diffstat:
Mchrome/content/zotero/bindings/itembox.xml | 13+++++--------
1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml @@ -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';