GitHub user drsm79 opened a pull request:
https://github.com/apache/couchdb/pull/140
2038 improve db delete confirmation
This adds a github like modal for confirming database deletion. There's
scope to dry the code further - making a ModalView to have the various modals
inherit from - but I thought pushing this up for review would be good, not
least because I've not written any fauxton code for a while. I'm sure there's
styling to improve, too.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/drsm79/couchdb
2038-improve-db-delete-confirmation
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb/pull/140.patch
commit 5f03e34859c36fb7af85b1fbd41610e646866bf5
Author: Simon Metson simon+git...@cloudant.com
Date: 2014-01-26T19:05:22Z
Whitespace
commit 8149e7132e4a3ca0370a51c3b6b2d4fd08b384f7
Author: Simon Metson simon+git...@cloudant.com
Date: 2014-01-26T19:04:57Z
dry out delete events
commit 049e71e1a464d7298223f60e4b90dae875fdf166
Author: Simon Metson simon+git...@cloudant.com
Date: 2014-01-26T19:06:18Z
Modal instead of prompt for delete
Display a modal asking for database name instead of a simple prompt.