couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r959788 - /couchdb/trunk/share/www/script/jquery.editinline.js
Date Thu, 01 Jul 2010 21:25:49 GMT
Author: jchris
Date: Thu Jul  1 21:25:48 2010
New Revision: 959788

URL: http://svn.apache.org/viewvc?rev=959788&view=rev
Log:
click to edit config in Futon instead of double click. thanks Aaron Miller

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=959788&r1=959787&r2=959788&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/jquery.editinline.js (original)
+++ couchdb/trunk/share/www/script/jquery.editinline.js Thu Jul  1 21:25:48 2010
@@ -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);
       });
     });



Mime
View raw message