summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2010-07-01 21:25:48 +0000
committerJohn Christopher Anderson <jchris@apache.org>2010-07-01 21:25:48 +0000
commitbe39860688e01e0d0749fdbefdd226d790133219 (patch)
tree5693e753510d48cdfd0e3e530e7e9c403a9b18e0
parent1dc0804d97ac2ff9f6bb4f274eb4ecb815404586 (diff)
click to edit config in Futon instead of double click. thanks Aaron Miller
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@959788 13f79535-47bb-0310-9956-ffa450edef68
-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 b48607d4..868abc5e 100644
--- a/share/www/script/jquery.editinline.js
+++ b/share/www/script/jquery.editinline.js
@@ -90,7 +90,7 @@
allowEmpty: true,
acceptLabel: "",
cancelLabel: "",
- toolTip: "Double click to edit",
+ toolTip: "Click to edit",
acceptOnBlur: true,
// callbacks
@@ -105,7 +105,7 @@
}, options || {});
return this.each(function() {
- $(this).attr("title", options.toolTip).dblclick(function() {
+ $(this).attr("title", options.toolTip).click(function() {
startEditing(this, options);
});
});