summaryrefslogtreecommitdiff
path: root/share/www/database.html
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2010-01-19 22:37:41 +0000
committerChristopher Lenz <cmlenz@apache.org>2010-01-19 22:37:41 +0000
commitca66fa917c8e297e1403dc916de96f50130af270 (patch)
tree240944c89c3f28cb9e9e18372b9856dd97891a13 /share/www/database.html
parent30a45a978e3b6aa6c206fccab66a6ca383fc5fe6 (diff)
Futon: Simplify placeholder fallback using jQuery live focus events.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900989 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/database.html')
-rw-r--r--share/www/database.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/database.html b/share/www/database.html
index 504c2c1e..a3a02a52 100644
--- a/share/www/database.html
+++ b/share/www/database.html
@@ -120,7 +120,7 @@ specific language governing permissions and limitations under the License.
$("#toolbar button.delete").click(page.deleteDatabase);
$("#toolbar button.compactview").click(page.compactView);
- $('#jumpto input').addPlaceholder("Document ID").suggest(function(text, callback) {
+ $('#jumpto input').suggest(function(text, callback) {
page.db.allDocs({
limit: 10, startkey: text, endkey: text + 'zzz',
success: function(docs) {
@@ -158,7 +158,7 @@ specific language governing permissions and limitations under the License.
</div>
<div id="jumpto">
<label>Jump to:
- <input type="text" name="docid" autocomplete="off" />
+ <input type="text" name="docid" placeholder="Document ID" autocomplete="off" />
</label>
</div>
<ul id="toolbar">