Commons: Remove "zc-test-" prepending

This commit is contained in:
Dan Stillman 2010-09-16 08:02:45 +00:00
parent 583b1ea585
commit eb95974891
2 changed files with 3 additions and 6 deletions

View File

@ -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;

View File

@ -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",