You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by cm...@apache.org on 2009/01/15 10:02:44 UTC
svn commit: r734637 - in /couchdb/trunk/share/www: script/futon.browse.js
style/layout.css
Author: cmlenz
Date: Thu Jan 15 01:02:43 2009
New Revision: 734637
URL: http://svn.apache.org/viewvc?rev=734637&view=rev
Log:
Revert changes that shouldn't have been committed together with r734633. Note to self: consume sufficient coffee before the first checkin in the morning.
Modified:
couchdb/trunk/share/www/script/futon.browse.js
couchdb/trunk/share/www/style/layout.css
Modified: couchdb/trunk/share/www/script/futon.browse.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/futon.browse.js?rev=734637&r1=734636&r2=734637&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/futon.browse.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/futon.browse.js [utf-8] Thu Jan 15 01:02:43 2009
@@ -205,16 +205,6 @@
$.cookies.get(db.name + ".reduce", "")
);
}
- $("#viewcode textarea").change(function() {
- if (page.viewLanguage == "javascript") {
- try {
- var func = eval("(" + $(this).val() + ")");
- $(this).removeClass("invalid").next(".error").remove();
- } catch (err) {
- $(this).addClass("invalid").data("error", err.message);
- }
- }
- });
page.populateLanguagesMenu();
}
Modified: couchdb/trunk/share/www/style/layout.css
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/style/layout.css?rev=734637&r1=734636&r2=734637&view=diff
==============================================================================
--- couchdb/trunk/share/www/style/layout.css (original)
+++ couchdb/trunk/share/www/style/layout.css Thu Jan 15 01:02:43 2009
@@ -314,7 +314,6 @@
resize: none; width: 100%; overflow: auto;
}
#viewcode .code textarea:focus { background: #e9f4ff; }
-#viewcode .code textarea.invalid { background: #fee; color: #800; }
#viewcode .bottom { border-bottom: none; clear: left; padding: 1px 3px; }
#viewcode .bottom button { font-size: 90%; margin: 0 1em 0 0;
padding-left: 2em; padding-right: 2em;