support CSL 1.0 dependent styles

This commit is contained in:
Simon Kornblith 2011-03-16 14:35:02 +00:00
parent f25aadb7ad
commit 23eb381ea0

View file

@ -182,7 +182,7 @@ Zotero.Styles = new function() {
// look for a parent // look for a parent
for each(var link in xml.info.link) { for each(var link in xml.info.link) {
if(link.@rel == "source") { if(link.@rel == "source" || link.@rel == "independent-parent") {
source = link.@href.toString(); source = link.@href.toString();
if(source == styleID) { if(source == styleID) {
if(!hidden) alert(Zotero.getString('styles.installError', loadURI)); if(!hidden) alert(Zotero.getString('styles.installError', loadURI));