From 258d86091229638ffdcfa76939bf062204b90ecc Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Thu, 15 Jan 2009 09:02:43 +0000 Subject: Revert changes that shouldn't have been committed together with r734633. Note to self: consume sufficient coffee before the first checkin in the morning. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734637 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/futon.browse.js | 10 ---------- share/www/style/layout.css | 1 - 2 files changed, 11 deletions(-) (limited to 'share') diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js index 0ff86f94..b85e8691 100644 --- a/share/www/script/futon.browse.js +++ b/share/www/script/futon.browse.js @@ -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(); } diff --git a/share/www/style/layout.css b/share/www/style/layout.css index a05b350f..c36892dd 100644 --- a/share/www/style/layout.css +++ b/share/www/style/layout.css @@ -314,7 +314,6 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight; 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; -- cgit v1.2.3