summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-01-15 09:02:43 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-01-15 09:02:43 +0000
commit258d86091229638ffdcfa76939bf062204b90ecc (patch)
treee63eae5f24f9dbc7a38b0b0abf5381bc8e3842f0 /share
parente5d58ede60c633e6d0da484eb513726465a3eed6 (diff)
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
Diffstat (limited to 'share')
-rw-r--r--share/www/script/futon.browse.js10
-rw-r--r--share/www/style/layout.css1
2 files changed, 0 insertions, 11 deletions
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;