From 78731858ab111c800f13ec52ffcc46cc526efc5d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 20 Aug 2008 01:41:29 +0000 Subject: [PATCH] More helpful error message for compat styles in cslpreview and csledit on trunk --- chrome/content/zotero/tools/csledit.xul | 6 +++++- chrome/content/zotero/tools/cslpreview.xul | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/tools/csledit.xul b/chrome/content/zotero/tools/csledit.xul index 5d3c72c864..920f5e09f3 100644 --- a/chrome/content/zotero/tools/csledit.xul +++ b/chrome/content/zotero/tools/csledit.xul @@ -101,7 +101,11 @@ } var csl; if (str.indexOf("' + + "Old-style CSLs are no longer supported." + + ''; + return; } else { csl = new Zotero.CSL(str); diff --git a/chrome/content/zotero/tools/cslpreview.xul b/chrome/content/zotero/tools/cslpreview.xul index e4ce7b010b..711662519a 100644 --- a/chrome/content/zotero/tools/cslpreview.xul +++ b/chrome/content/zotero/tools/cslpreview.xul @@ -95,7 +95,7 @@ } var csl; if (str.indexOf("