Github user benkeen commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/78#discussion_r18430097
--- Diff: app/addons/documents/views.js ---
@@ -180,11 +150,12 @@ function(app, FauxtonAPI, Components, Documents,
Databases, Views, QueryOptions,
deleteDatabase: function (event) {
event.preventDefault();
- var enterredName = this.$('#db_name')[0].value;
- if (this.database.id != enterredName) {
- this.set_error_msg(enterredName + " does not match database id -
are you sure you want to delete " + this.database.id + "?");
+ var enteredName = this.$('#db_name')[0].value;
--- End diff --
Will do! One note: I see we do a lot of this.$("#id"). I've just been
dumping the "this" since it's a bit more verbose and unnecessary, considering
the ID is unique anyway.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---