Fix error message in previous commit

This commit is contained in:
Dan Stillman 2010-09-07 19:01:26 +00:00
parent 539ac39d70
commit 055f641188

View file

@ -1223,7 +1223,7 @@ Zotero.Item.prototype.save = function() {
if (this.libraryID
&& ((e.indexOf && e.indexOf('fki_items_libraryID_libraries_libraryID') != -1)
|| (!Zotero.Libraries.exists(this.libraryID)))) {
var msg = "Library " + this.libraryID + " for item " + this.key;
var msg = "Library " + this.libraryID + " for item " + this.key + " not found";
var e = new Zotero.Error(msg, "MISSING_OBJECT");
throw (e);
}