diff options
author | Christopher Lenz <cmlenz@apache.org> | 2009-07-22 09:03:40 +0000 |
---|---|---|
committer | Christopher Lenz <cmlenz@apache.org> | 2009-07-22 09:03:40 +0000 |
commit | f6507e21f87f962c7e7731123450914aa12e227d (patch) | |
tree | 26b415f94a696d8bca9f1232ac6b058d3a6127fa /share/www/database.html | |
parent | f4aa228848f8b465ae5ea3088ef02a04051feeac (diff) |
Change document creation in Futon so that it no longer prompts for a document ID, but simply opens the document page for an empty (and unsaved) document, and allows you to modify the ID.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796635 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/database.html')
-rw-r--r-- | share/www/database.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/www/database.html b/share/www/database.html index b94b1e93..9b22cf76 100644 --- a/share/www/database.html +++ b/share/www/database.html @@ -99,7 +99,7 @@ specific language governing permissions and limitations under the License. page.updateDocumentListing(); $.cookies.set(page.db.name + ".perpage", this.value); }); - $("#toolbar button.add").click(page.addDocument); + $("#toolbar button.add").click(page.newDocument); $("#toolbar button.compact").click(page.compactDatabase); $("#toolbar button.delete").click(page.deleteDatabase); @@ -145,9 +145,9 @@ specific language governing permissions and limitations under the License. </label> </div> <ul id="toolbar"> - <li><button class="add">Create Document …</button></li> - <li><button class="compact">Compact Database</button></li> - <li><button class="delete">Delete Database</button></li> + <li><button class="add">New Document</button></li> + <li><button class="compact">Compact Database…</button></li> + <li><button class="delete">Delete Database…</button></li> </ul> <div id="viewcode" class="collapsed" style="display: none"> |