www

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

commit 56a31cbd725238dd83da52c3da38225d4516380a
parent 72ffd78143964005f721d6148fb82481cd5874b8
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu,  9 Sep 2010 01:58:37 +0000

Include collection name in "Cannot move collection into one of its own descendents" message to help with manual fixing


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

diff --git a/chrome/content/zotero/xpcom/data/collection.js b/chrome/content/zotero/xpcom/data/collection.js @@ -404,7 +404,7 @@ Zotero.Collection.prototype.save = function () { } if (this.id && this.hasDescendent('collection', newParent.id)) { - throw ('Cannot move collection into one of its own descendents!'); + throw ('Cannot move collection "' + this.name + '" into one of its own descendents'); } var parent = newParent.id;