Author: jchris
Date: Fri Jul  2 17:42:06 2010
New Revision: 960067

URL: http://svn.apache.org/viewvc?rev=960067&view=rev
Log:
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.

Modified:
    couchdb/trunk/share/www/script/jquery.editinline.js

Modified: couchdb/trunk/share/www/script/jquery.editinline.js
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/jquery.editinline.js?rev=960067&r1=960066&r2=960067&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/jquery.editinline.js (original)
+++ couchdb/trunk/share/www/script/jquery.editinline.js Fri Jul  2 17:42:06 2010
@@ -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);
       });
     });


Reply via email to