Merge pull request #270 from aurimasv/RDFimport

Fix RDF import for large notes
This commit is contained in:
Simon Kornblith 2013-03-17 13:05:14 -07:00
commit c457139573
3 changed files with 5 additions and 2 deletions

View file

@ -590,7 +590,7 @@ Zotero.Item.prototype.setType = function(itemTypeID, loadIn) {
if (loadIn) {
this._itemDataLoaded = false;
}
else {
else if(oldItemTypeID) {
this._markFieldChange('itemType', Zotero.ItemTypes.getName(oldItemTypeID));
if (!this._changedPrimaryData) {
this._changedPrimaryData = {};

View file

@ -19,7 +19,8 @@ var $rdf = {
},
log: {
debug: Zotero.debug,
warn: Zotero.debug
warn: Zotero.debug,
error: Zotero.debug
}
};

View file

@ -2258,6 +2258,8 @@ Zotero.Translate.IO = {
throw "DOMParser error: loading data into data store failed";
}
nodes.normalize();
return nodes;
},