Merge pull request #270 from aurimasv/RDFimport
Fix RDF import for large notes
This commit is contained in:
commit
c457139573
3 changed files with 5 additions and 2 deletions
|
@ -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 = {};
|
||||
|
|
|
@ -19,7 +19,8 @@ var $rdf = {
|
|||
},
|
||||
log: {
|
||||
debug: Zotero.debug,
|
||||
warn: Zotero.debug
|
||||
warn: Zotero.debug,
|
||||
error: Zotero.debug
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -2258,6 +2258,8 @@ Zotero.Translate.IO = {
|
|||
throw "DOMParser error: loading data into data store failed";
|
||||
}
|
||||
|
||||
nodes.normalize();
|
||||
|
||||
return nodes;
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue