summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2010-07-02 17:42:06 +0000
committerJohn Christopher Anderson <jchris@apache.org>2010-07-02 17:42:06 +0000
commit68d0f4da12adf8435743e8e890c4e079a4f0f40b (patch)
tree346dd768b59ff5bf1eee9ec627df03dfbf2839d3 /share
parent761c3cf2dbbf72313c25790550d340eb1f9dfa06 (diff)
Revert "click to edit config in Futon instead of double click. thanks Aaron Miller"
Turns out this has some issues. Getting Futon to work nicely on tap-style mobile browsers will require a deeper look. This reverts commit be39860688e01e0d0749fdbefdd226d790133219. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960067 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share')
-rw-r--r--share/www/script/jquery.editinline.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/jquery.editinline.js b/share/www/script/jquery.editinline.js
index 868abc5e..b48607d4 100644
--- a/share/www/script/jquery.editinline.js
+++ b/share/www/script/jquery.editinline.js
@@ -90,7 +90,7 @@
allowEmpty: true,
acceptLabel: "",
cancelLabel: "",
- toolTip: "Click to edit",
+ toolTip: "Double click to edit",
acceptOnBlur: true,
// callbacks
@@ -105,7 +105,7 @@
}, options || {});
return this.each(function() {
- $(this).attr("title", options.toolTip).click(function() {
+ $(this).attr("title", options.toolTip).dblclick(function() {
startEditing(this, options);
});
});