From 68d0f4da12adf8435743e8e890c4e079a4f0f40b Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Fri, 2 Jul 2010 17:42:06 +0000 Subject: 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 --- share/www/script/jquery.editinline.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share') 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); }); }); -- cgit v1.2.3