true... done


On Tue, Mar 11, 2014 at 12:35 PM, Aurimas Vinckevicius <
notifications@github.com> wrote:

> In RDF.js:
>
> > @@ -134,9 +134,14 @@ function handleCreators(newItem, creators, creatorType) {
> >  					creator.lastName = getFirstResults(creators[i],
> >  						[n.foaf+"familyName", n.foaf+"lastName",
> >  						n.foaf+"surname", n.foaf+"family_name"], true); //unofficial
> > -					creator.firstName = getFirstResults(creators[i],
> > -						[n.foaf+"givenName", n.foaf+"firstName",
> > -						n.foaf+"givenname"], true);	//unofficial
> > +					if(getFirstResults(creators[i], [n.foaf+"givenName", n.foaf+"firstName", n.foaf+"givenname"], true)){
> > +							creator.firstName = getFirstResults(creators[i],
> > +								[n.foaf+"givenName", n.foaf+"firstName",
> > +								n.foaf+"givenname"], true);	//unofficial
> > +					}
> > +					else{
> > +						creator.fieldMode=1;
> > +					}
>
> you just needed to add if(!creator.firstName) creator.fieldMode = 1;
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/zotero/translators/pull/693/files#r10488739>
> .
>



-- 
Sebastian Karcher
Ph.D. Candidate
Department of Political Science
Northwestern University