commit 23dae264084d285a2719de83f88084b9d344e87a parent 744610ca5bbca910f9fba4b3c98271e4910b6d03 Author: Dan Stillman <dstillman@zotero.org> Date: Tue, 24 Aug 2010 18:57:00 +0000 Fix "JavaScript component threw a number as an exception" error (which is actually "Cannot move collection into one of its own descendents!") Diffstat:
| M | chrome/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!', 2); + throw ('Cannot move collection into one of its own descendents!'); } var parent = newParent.id;