From eb9597489132ce7335283b62cb720aca7fa86f4b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 16 Sep 2010 08:02:45 +0000 Subject: [PATCH] Commons: Remove "zc-test-" prepending --- chrome/content/zotero/overlay.js | 6 ++---- chrome/content/zotero/xpcom/commons.js | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 0d9d94d540..7df3f3a214 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -1579,8 +1579,7 @@ var ZoteroPane = new function() + "Identifiers can contain basic Latin letters, numbers, hyphens, and underscores " + "and must be no longer than 32 characters. " + "Spaces and other characters are not allowed.\n\n" - // TEMP - + '"zc-test-' + Zotero.Commons.userNameSlug + '-" ' + + '"' + Zotero.Commons.userNameSlug + '-" ' + "will be automatically prepended to your entry.", newName, "", {} @@ -1596,8 +1595,7 @@ var ZoteroPane = new function() return; } - // TEMP - var testName = 'zc-test-' + Zotero.Commons.userNameSlug + '-' + name; + var testName = Zotero.Commons.userNameSlug + '-' + name; if (!Zotero.Commons.isValidBucketName(testName)) { invalid = true; continue; diff --git a/chrome/content/zotero/xpcom/commons.js b/chrome/content/zotero/xpcom/commons.js index 536ab7e292..f9ed50f5b9 100644 --- a/chrome/content/zotero/xpcom/commons.js +++ b/chrome/content/zotero/xpcom/commons.js @@ -232,8 +232,7 @@ Zotero.Commons = new function() { if (!_userName) { throw new Exception("Username not set in Zotero.Commons.createBucket()"); } - // TEMP - name = "zc-test-" + this.userNameSlug + "-" + name; + name = this.userNameSlug + "-" + name; var headers = { "x-archive-auto-make-bucket":"1",