couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cml...@apache.org
Subject svn commit: r796537 - /couchdb/trunk/share/www/script/futon.js
Date Tue, 21 Jul 2009 21:10:45 GMT
Author: cmlenz
Date: Tue Jul 21 21:10:45 2009
New Revision: 796537

URL: http://svn.apache.org/viewvc?rev=796537&view=rev
Log:
Put the database name in the Futon sidebar in the link title, so it is still available in
its entirety as a tooltip, even when the link text is cut off.

Modified:
    couchdb/trunk/share/www/script/futon.js

Modified: couchdb/trunk/share/www/script/futon.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/futon.js?rev=796537&r1=796536&r2=796537&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/futon.js (original)
+++ couchdb/trunk/share/www/script/futon.js Tue Jul 21 21:10:45 2009
@@ -67,7 +67,7 @@
         if (name) {
           $("#dbs").append("<li>" +
             "<button class='remove' title='Remove from list' value='" + name + "'></button>"
+
-            "<a href='database.html?" + encodeURIComponent(name) + "'>" + name +
+            "<a href='database.html?" + encodeURIComponent(name) + "' title='" + name
+ "'>" + name +
             "</a></li>");
         }
       });



Mime
View raw message