www

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

commit 53d2fb6fe9d9f0cd30618cc254d3b94341e623e0
parent 473d9e3c17839598cf8309ac3d3d62f7581f05dc
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 13 Jan 2010 21:28:10 +0000

Fix for note cursor being reset while editing (since r5572)


Diffstat:
Mchrome/content/zotero/xpcom/data/item.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js @@ -2323,7 +2323,7 @@ Zotero.Item.prototype.getNote = function() { // Don't include <div> wrapper when returning value var startLen = note.substr(0, 36).match(/^<div class="zotero-note znv[0-9]+">/)[0].length; var endLen = 6; // "</div>".length - note = note.substr(startLen, note.length - endLen); + note = note.substr(startLen, note.length - startLen - endLen); } this._noteText = note ? note : '';