summaryrefslogtreecommitdiff
path: root/share/www/script/futon.browse.js
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-01-26 21:22:18 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-01-26 21:22:18 +0000
commitcbd43c6bbc72360bd15cfeca87ef6ac85493988b (patch)
tree35bff1fa20a779df6842e6200f480264beebc0ae /share/www/script/futon.browse.js
parent36e519fc8d2a406071173d4eda8bf0a64ce2968d (diff)
Change _slow_view back to _temp_view, as discussed on the mailing list (see http://markmail.org/message/o44cafucgwlpudov).
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737859 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/futon.browse.js')
-rw-r--r--share/www/script/futon.browse.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index 6f90b5a8..f05e92d5 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -114,7 +114,7 @@
this.viewLanguage = "javascript";
this.db = db;
this.isDirty = false;
- this.isTempView = viewName == "_slow_view";
+ this.isTempView = viewName == "_temp_view";
page = this;
var templates = {
@@ -199,7 +199,7 @@
}
$("#language").change(updateDirtyState);
});
- } else if (viewName == "_slow_view") {
+ } else if (viewName == "_temp_view") {
page.viewLanguage = $.cookies.get(db.name + ".language", page.viewLanguage);
page.updateViewEditor(
$.cookies.get(db.name + ".map", templates[page.viewLanguage]),
@@ -266,7 +266,7 @@
}
});
if (!viewName.match(/^_design\//)) {
- $.each(["_all_docs", "_design_docs", "_slow_view"], function(idx, name) {
+ $.each(["_all_docs", "_design_docs", "_temp_view"], function(idx, name) {
if (viewName == name) {
select[0].options[idx].selected = true;
}
@@ -577,7 +577,7 @@
$("#switch select")[0].selectedIndex = 0;
db.allDocs(options);
} else {
- if (viewName == "_slow_view") {
+ if (viewName == "_temp_view") {
$("#viewcode").show().removeClass("collapsed");
var mapFun = $("#viewcode_map").val();
$.cookies.set(db.name + ".map", mapFun);