Item.getCreators() didn't call _loadCreators(), apparently...
This commit is contained in:
parent
43bc723876
commit
953a43064a
|
@ -255,6 +255,10 @@ Zotero.Item.prototype.getCreator = function(pos){
|
|||
* Note: Creator data array is returned by reference
|
||||
*/
|
||||
Zotero.Item.prototype.getCreators = function(){
|
||||
if (this.getID() && !this._creatorsLoaded){
|
||||
this._loadCreators();
|
||||
}
|
||||
|
||||
var creators = [];
|
||||
for (var i=0; i<this._creators.length; i++){
|
||||
creators.push(this.getCreator(i));
|
||||
|
|
Loading…
Reference in New Issue
Block a user