www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit cccdbdb8e5b72f1ea06edd3b741f98e1266b48a6
parent e5bdfbb01996969bf14539c4227fab862e55cf49
Author: Simon Kornblith <simon@simonster.com>
Date:   Wed, 17 Sep 2008 00:45:14 +0000

Zotero.Style.delete -> Zotero.Style.remove


Diffstat:
Mchrome/content/zotero/preferences/preferences.js | 4++--
Mchrome/content/zotero/xpcom/style.js | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js @@ -1207,10 +1207,10 @@ function deleteStyle() { if(ps.confirm(null, '', text)) { // delete if requested if(cslIDs.length == 1) { - selectedStyle.delete(); + selectedStyle.remove(); } else { for(var i=0; i<cslIDs.length; i++) { - Zotero.Styles.get(cslIDs[i]).delete(); + Zotero.Styles.get(cslIDs[i]).remove(); } } diff --git a/chrome/content/zotero/xpcom/style.js b/chrome/content/zotero/xpcom/style.js @@ -426,7 +426,7 @@ function() { /** * Deletes a style */ -Zotero.Style.prototype.delete = function() { +Zotero.Style.prototype.remove = function() { // make sure no styles depend on this one var dependentStyles = false; var styles = Zotero.Styles.getAll(); @@ -464,7 +464,7 @@ Zotero.Style.prototype.delete = function() { // if it was only this style with the dependency, delete the source if(deleteSource) { - source.delete(); + source.remove(); } } }